Overview
Self-hosting Whitepapper means deploying three parts from this monorepo:
- Astro frontend (
astro/) - FastAPI backend (
fastapi/) - Cloudflare proxy worker (
cloudflare-proxy/)
Prerequisites
- Access to deployment targets (Vercel, Cloud Run, Cloudflare)
- Clerk, Firebase, and Valkey credentials
- GitHub repository admin access for cron secrets
Deployment flow
- Configure env files
- Run locally
- Deploy frontend
- Deploy backend
- Deploy worker
- Configure cron jobs
- Run production checklist
Expected outcome
A production setup where public pages, dashboard, Dev API, distribution, and cron sync jobs all work.