-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy path.env.example
More file actions
24 lines (21 loc) · 1.05 KB
/
.env.example
File metadata and controls
24 lines (21 loc) · 1.05 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
# main env
NEXT_PUBLIC_SITE_URL="http://localhost:3000" # Replace with real domain, e.g. "https://bestcodes.dev", in production
EMAIL_USER="email" # Your Gmail email
EMAIL_APP_PASSWORD="**** **** **** ****" # Get this from Google
FINGERPRINT_SECRET="****" # openssl rand -base64 32
# better auth
BETTER_AUTH_SECRET="****" # https://www.better-auth.com/docs/installation#set-environment-variables
BETTER_AUTH_URL="http://localhost:3000" # Same as NEXT_PUBLIC_SITE_URL
# postgres for better auth
DATABASE_URL="postgres://****" # https://vercel.com/bestcodes-dev/~/stores/integration/neon
# github id and secret for better auth
GITHUB_ID="****"
GITHUB_SECRET="****"
# google id and secret for better auth
GOOGLE_CLIENT_ID="****"
GOOGLE_CLIENT_SECRET="****"
# gemini API key for image alt generation, optional
GEMINI_API_KEY="****"
# blog auth
UNPUBLISHED_BLOG_SIGNING_KEY="****" # openssl rand -base64 32
UNPUBLISHED_BLOG_AUTH_CODE="your-secret-blog-auth-code" # NEVER share this. This is an ADMIN key. You may privately share access codes generated via "npm run blog-key".