2023-06-28 13:21:08 +01:00
|
|
|
# You must first activate a Billing Account here: https://platform.openai.com/account/billing/overview
|
|
|
|
|
# Then get your OpenAI API Key here: https://platform.openai.com/account/api-keys
|
2023-06-11 10:25:51 -04:00
|
|
|
OPENAI_API_KEY=XXXXXXXX
|
2023-06-16 17:13:42 -05:00
|
|
|
|
2023-06-28 13:21:08 +01:00
|
|
|
# Generate a random secret: https://generate-secret.vercel.app/32 or `openssl rand -base64 32`
|
2023-06-27 20:03:01 +02:00
|
|
|
AUTH_SECRET=XXXXXXXX
|
2023-06-28 13:30:17 +01:00
|
|
|
# Create a GitHub OAuth app here: https://github.com/settings/applications/new
|
|
|
|
|
# Authorization callback URL: https://authjs.dev/reference/core/providers_github#callback-url
|
2023-06-16 17:13:42 -05:00
|
|
|
AUTH_GITHUB_ID=XXXXXXXX
|
|
|
|
|
AUTH_GITHUB_SECRET=XXXXXXXX
|
2023-06-28 13:21:08 +01:00
|
|
|
# Support OAuth login on preview deployments, see: https://authjs.dev/guides/basics/deployment#securing-a-preview-deployment
|
2023-06-28 13:27:33 +01:00
|
|
|
# Set the following only when deployed. We recommend using a different OAuth app for development/production.
|
|
|
|
|
# AUTH_REDIRECT_PROXY_URL=https://auth.example.com/api/auth
|
2023-06-17 09:09:30 +02:00
|
|
|
|
2023-06-27 20:03:01 +02:00
|
|
|
# Instructions to create kv database here: https://vercel.com/docs/storage/vercel-kv/quickstart and
|
2023-06-17 09:09:30 +02:00
|
|
|
KV_URL=XXXXXXXX
|
|
|
|
|
KV_REST_API_URL=XXXXXXXX
|
|
|
|
|
KV_REST_API_TOKEN=XXXXXXXX
|
|
|
|
|
KV_REST_API_READ_ONLY_TOKEN=XXXXXXXX
|
|
|
|
|
|