.env.example
Set these on your host before deploying. Each platform has an “Environment Variables” section in the deploy flow.
DATABASE_HOST
Shared / server
DATABASE_PORT
DATABASE_USER
DATABASE_PASSWORD
secret
DATABASE_NAME
SERVER_PORT
CORS_ORIGIN
NEXT_PUBLIC_API_URL
Client
brew install flyctl && fly launch --from https://github.com/adamkleingit/pixel-example
curl -L https://fly.io/install.sh | sh && fly launch --from https://github.com/adamkleingit/pixel-example
iwr https://fly.io/install.ps1 -useb | iex; fly launch --from https://github.com/adamkleingit/pixel-example