Skip to content

Commit

Permalink
Modified .env.example to include database config
Browse files Browse the repository at this point in the history
  • Loading branch information
luloxi committed Sep 17, 2024
1 parent 9b21ef6 commit 6657e77
Show file tree
Hide file tree
Showing 3 changed files with 25 additions and 72 deletions.
68 changes: 0 additions & 68 deletions packages/local_db/firebase-debug.log

This file was deleted.

2 changes: 2 additions & 0 deletions packages/local_db/firestore-debug.log
Original file line number Diff line number Diff line change
Expand Up @@ -12,3 +12,5 @@ If you are running a Firestore in Datastore Mode project, run:
Note: Support for Datastore Mode is in preview. If you encounter any bugs please file at https://github.com/firebase/firebase-tools/issues.
Dev App Server is now running.

*** shutting down gRPC server since JVM is shutting down
*** server shut down
27 changes: 23 additions & 4 deletions packages/nextjs/.env.example
Original file line number Diff line number Diff line change
@@ -1,5 +1,3 @@
# Template for NextJS environment variables.

# For local development, copy this file, rename it to .env.local, and fill in the values.
# When deploying live, you'll need to store the vars in Vercel/System config.

Expand All @@ -9,6 +7,27 @@
# To access the values stored in this env file you can use: process.env.VARIABLENAME
# You'll need to prefix the variables names with NEXT_PUBLIC_ if you want to access them on the client side.
# More info: https://nextjs.org/docs/pages/building-your-application/configuring/environment-variables
NEXT_PUBLIC_ALCHEMY_API_KEY=
NEXT_PUBLIC_WALLET_CONNECT_PROJECT_ID=

# NEXT_PUBLIC_ALCHEMY_API_KEY=
# NEXT_PUBLIC_WALLET_CONNECT_PROJECT_ID=

# Firebase live vs local emulator.
# Important: Only one of the following lines should be uncommented at a time.


# If you want to connect to a live Firebase project, you can download the service account key JSON
# and add the path here;
### Commented out as per instructions by ChatGPT
# GOOGLE_APPLICATION_CREDENTIALS="/<your>/<path>/<to>/firebaseServiceAccountKey.json"
# OR copy/paste these values from the JSON file (easier for production environments):
# FIREBASE_CLIENT_EMAIL="your_firebase_admin_sdk_email@your_project_id.iam.gserviceaccount.com"
# FIREBASE_PRIVATE_KEY="-----BEGIN...END PRIVATE"

# If you want to connect to the Firebase emulator
FIRESTORE_EMULATOR_HOST=localhost:8080

# Setup you project id for firebase
FIREBASE_PROJECT_ID="technai-v1"

# Setup api-key for admin
ADMIN_API_KEY="admin-api-key"

0 comments on commit 6657e77

Please sign in to comment.