Skip to content

Commit 8010c25

Browse files
authored
Merge pull request #65 from AIObjectives/brandon_example-env-update
updated example env
2 parents 410b51c + f45c4f5 commit 8010c25

File tree

2 files changed

+18
-10
lines changed

2 files changed

+18
-10
lines changed

express-server/.example-env

Lines changed: 10 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,10 @@
1-
OPENAI_API_KEY=
2-
OPENAI_API_KEY_PASSWORD= This is used if you want to share compute resources without sharing api keys
3-
GCLOUD_STORAGE_BUCKET= name of the bucket you use
4-
GOOGLE_CREDENTIALS_ENCODED=
5-
CLIENT_BASE_URL= where is your frontend being hosted? On dev its localhost:3000 by default
6-
PYSERVER_URL=
7-
NODE_ENV=
8-
GOOGLE_APPLICATION_CREDENTIALS=
9-
FIREBASE_DATABASE_URL=
1+
export OPENAI_API_KEY=
2+
export GCLOUD_STORAGE_BUCKET= name of your bucket
3+
export CLIENT_BASE_URL= for dev: http://localhost:3000
4+
export GOOGLE_CREDENTIALS_ENCODED= base 64 encoding of your credentials
5+
export PYSERVER_URL= for dev: http://localhost:8000
6+
export FIREBASE_DATABASE_URL= found in your firebase project
7+
export REDIS_HOST= for dev: localhost
8+
export REDIS_PORT= for dev: 6379
9+
export GOOGLE_APPLICATION_CREDENTIALS= path to your credentials. Suggest using ./credentials
10+
export NODE_ENV=

next-client/.example-env.local

Lines changed: 8 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,9 @@
11
# How env works on NextJS: https://nextjs.org/docs/pages/building-your-application/configuring/environment-variables#default-environment-variables
2-
PIPELINE_EXPRESS_URL= # This is by default localhost:8080 on dev
2+
PIPELINE_EXPRESS_URL= # This is by default localhost:8080 on dev
3+
# Firebase keys below should be found on your firebase project. These are not sensitive and can be shared with the client.
4+
NEXT_PUBLIC_FIREBASE_API_KEY=
5+
NEXT_PUBLIC_FIREBASE_AUTH_DOMAIN=
6+
NEXT_PUBLIC_FIREBASE_PROJECT_ID=
7+
NEXT_PUBLIC_FIREBASE_STORAGE_BUCKET=
8+
NEXT_PUBLIC_FIREBASE_MESSAGING_SENDER_ID=
9+
NEXT_PUBLIC_FIREBASE_APP_ID=

0 commit comments

Comments
 (0)