Deploy to Cloudflare
- Get your app live on the internet with Cloudflare Pages
Manual step
No Claude prompt needed. Deploy via the Cloudflare dashboard by connecting your GitHub repo directly.
1. Create a Pages Project
Open the Cloudflare dashboard
Click Compute in the sidebar
Click Workers & Pages
Click Create Application
You'll see a link that says "Looking to deploy Pages? Get started" — click Get started
Click Import from existing Git repository
Select the correct GitHub account and then select your repository
2. Configure Build Settings and Environment Variables
Set the build configuration and add your environment variables on the same screen:
- Framework preset: Nuxt.js
- Build command:
npm run build - Build output directory:
dist
Add these under Environment Variables:
SUPABASE_URL— from your.envSUPABASE_KEY— from your.envSUPABASE_SECRET_KEY— from your.env
3. Deploy
Click Save and Deploy. Cloudflare will build and deploy automatically. Every future push to master triggers a redeploy.
4. Secure Your Environment Variables
After the first deploy completes, change your variables to secrets so they are not visible in the dashboard:
Open your Pages project in the Cloudflare dashboard
Go to Settings → Variables and Secrets
For each variable, click Edit, change the type from Text to Secret, and click Save
5. Update Supabase Auth URLs
Once the first deploy succeeds:
- Copy your production URL from the Cloudflare Pages dashboard (e.g.
https://your-project.pages.dev) - In the Supabase dashboard → Authentication → URL Configuration:
- Update the Site URL from
http://localhost:3000to your production URL - Add
https://your-project.pages.dev/auth/callbackto the Redirect URLs
- Update the Site URL from
6. Verify Production
- Visit your production URL
- Sign up with a new account (or use the one you created locally)
- Complete the onboarding flow
- Confirm the dashboard loads and the sidebar works
- Push a small change to your repo and confirm Cloudflare auto-redeploys
Custom Domain (Optional)
To use your own domain instead of *.pages.dev:
- Go to your Cloudflare Pages project → Custom domains
- Add your domain and follow the DNS setup instructions
- Update the Site URL and Redirect URLs in Supabase to match your custom domain
What's Next
Your app is live. From here, pick what to build: