.env.example
Set these on your host before deploying. Each platform has an “Environment Variables” section in the deploy flow.
NEXT_PUBLIC_WEB_URL
NEXT_PUBLIC_API_URL
POSTGRES_PRISMA_URL
POSTGRES_URL_NON_POOLING
secret
NEXTAUTH_URL
NEXTAUTH_SECRET
secret
AUTH_RESEND_KEY
secret
Contact @case to get the dev resend creds, otherwise you can create your own at https://resend.com/
AUTH_RESEND_EMAIL
DEV_DB_SEED_EMAIL
OPENAI_API_KEY
secret
Optional. Set OpenAI key to auto-generate question tags
BLOB_READ_WRITE_TOKEN
secret
Optional. Set vercel blob write token for avatar uploads
brew install flyctl && fly launch --from https://github.com/casesandberg/play-money
curl -L https://fly.io/install.sh | sh && fly launch --from https://github.com/casesandberg/play-money
iwr https://fly.io/install.ps1 -useb | iex; fly launch --from https://github.com/casesandberg/play-money