Skip to content

Commit d15da2f

Browse files
committed
updated example env
1 parent a0527d1 commit d15da2f

1 file changed

Lines changed: 15 additions & 20 deletions

File tree

.env.example

Lines changed: 15 additions & 20 deletions
Original file line numberDiff line numberDiff line change
@@ -9,26 +9,21 @@
99
# When adding additional environment variables, the schema in "/src/env.js"
1010
# should be updated accordingly.
1111

12-
EMAIL_HOST=""
13-
EMAIL_PASSWORD=""
14-
EMAIL_PORT=""
15-
EMAIL_SECURE=""
16-
EMAIL_USER=""
17-
JWT_SECRET=""
18-
MONGODB_URI=""
19-
NEXT_PUBLIC_CRYPTO_SECRET=""
20-
KV_URL=""
21-
KV_REST_API_URL=""
22-
KV_REST_API_TOKEN=""
23-
KV_REST_API_READ_ONLY_TOKEN=""
24-
SERVER_URL=""
12+
MONGODB_URI="" # Can be found in MongoDB Atlas dashboard or Compass (mongodb+srv://<username>:<password>@cluster0.abcde.mongodb.net/mydatabase?retryWrites=true&w=majority)
13+
SERVER_URL="". # e.g. "http://localhost:3000" or "https://mydomain.com" (domain of the url you use to access the server)
14+
2515
# Google Sheets Integration
26-
GOOGLE_CLIENT_EMAIL=""
27-
GOOGLE_PRIVATE_KEY=""
28-
SHEET_ID=""
16+
GOOGLE_CLIENT_EMAIL="" # Create google client account at https://console.cloud.google.com/iam-admin/serviceaccounts
17+
GOOGLE_PRIVATE_KEY="" # In the client account, create and download a new private key
18+
SHEET_ID="". # Google sheets ID, can be found in the url of the sheet
2919

20+
# Google Cloud Storage # https://console.cloud.google.com/storage/browser
21+
GOOGLE_CLOUD_PROJECT="" # Your Google Cloud Project ID
22+
GOOGLE_CLOUD_BUCKET="" # Your Google Cloud Storage Bucket name
23+
GOOGLE_APPLICATION_CREDENTIALS_JSON="" # The content of the JSON file you download when creating a service account key
3024

31-
# Google Cloud Storage
32-
GOOGLE_CLOUD_PROJECT=""
33-
GOOGLE_CLOUD_BUCKET=""
34-
GOOGLE_APPLICATION_CREDENTIALS_JSON=""
25+
# Vercel KV
26+
KV_URL="" # The URL of your Vercel KV instance
27+
KV_REST_API_URL="" # The REST API URL of your Vercel KV instance
28+
KV_REST_API_TOKEN="" # The REST API token for your Vercel KV instance
29+
KV_REST_API_READ_ONLY_TOKEN="" # The read-only REST API token for your Vercel KV instance

0 commit comments

Comments
 (0)