.env.example
Set these on your host before deploying. Each platform has an “Environment Variables” section in the deploy flow.
DB_PASSWORD
secret
Database Configuration
JWT_SECRET
secret
JWT Secret (generate your own secure secret in production)
AES_ENCRYPTION_KEY
secret
AES Encryption Key (must be 32 characters)
ANTHROPIC_API_KEY
secret
Optional: Anthropic API Key
VITE_API_PROXY_TARGET
Optional frontend dev proxy target. If unset, the web app probes localhost:8080-8089 and picks the PaiSwitch backend automatically.
brew install flyctl && fly launch --from https://github.com/itwanger/paiswitch
curl -L https://fly.io/install.sh | sh && fly launch --from https://github.com/itwanger/paiswitch
iwr https://fly.io/install.ps1 -useb | iex; fly launch --from https://github.com/itwanger/paiswitch