Production Deployment
How VerseBill is built and deployed.
VerseBill is deployed on Vercel. The build runs Prisma migrations and then the Next.js production build.
Build command
prisma migrate deploy && next build- Set all environment variables in the Vercel dashboard
- Use VERSE_NETWORK_MODE=production and NEXT_PUBLIC_NETWORK_MODE=production
- Point DATABASE_URL and DIRECT_URL at the Supabase poolers
- Configure the cron secret to match Vercel Cron