.env.example
Set these on your host before deploying. Each platform has an “Environment Variables” section in the deploy flow.
NEXT_PUBLIC_APP_NAME
Client-accessible environment variables (bundled in JavaScript) These are visible in browser dev tools only use for public data
NEXT_PUBLIC_SITE_URL
INTERNAL_CONFIG
Server-only environment variables These are UNDEFINED in Client Components use for sensitive config
brew install flyctl && fly launch --from https://github.com/vercel/nextjs-foundations-starter
curl -L https://fly.io/install.sh | sh && fly launch --from https://github.com/vercel/nextjs-foundations-starter
iwr https://fly.io/install.ps1 -useb | iex; fly launch --from https://github.com/vercel/nextjs-foundations-starter