.env.example
Set these on your host before deploying. Each platform has an “Environment Variables” section in the deploy flow.
CLOUDFLARE_ACCOUNT_ID
Cloudflare account ID
GOOGLE_CLIENT_ID
Google OAuth client credentials
GOOGLE_CLIENT_SECRET
secret
GENERATION_MODEL
Generation model (Cloudflare Workers AI text-generation model id)
RESEND_API_KEY
secret
Resend transactional email
EMAIL_FROM
SESSION_SECRET
secret
Session cookie secret (at least 32 bytes)
brew install flyctl && fly launch --from https://github.com/0xkaz/cloudflare-rag-demo
curl -L https://fly.io/install.sh | sh && fly launch --from https://github.com/0xkaz/cloudflare-rag-demo
iwr https://fly.io/install.ps1 -useb | iex; fly launch --from https://github.com/0xkaz/cloudflare-rag-demo