Prerequisites
- A Vercel account
- A Neon Serverless Postgres account
- An Upstash Redis serverless Redis instance (for queue & deduplication)
Step-by-Step Deployment
1
Create a Neon Postgres Database
- Log in to Neon and create a new project named
indic8-production. - Copy your pooled connection string:
postgresql://user:password@ep-sample-123-pooler.us-east-2.aws.neon.tech/neondb?sslmode=require
2
Create an Upstash Redis Database
- Log in to Upstash and create a Redis database.
- Copy the
UPSTASH_REDIS_REST_URLandUPSTASH_REDIS_REST_TOKEN(or standardREDIS_URL).
3
Fork and Deploy to Vercel
- Fork the indic8/indic8 GitHub repository.
- In Vercel, click Add New > Project and import your fork.
4
Set Environment Variables in Vercel
Configure the following required environment variables:
DATABASE_URL: Your pooled Neon connection string.REDIS_URL: Your Upstash Redis connection string.NEXTAUTH_URL: Your Vercel deployment URL (e.g.https://analytics.yourdomain.com).NEXTAUTH_SECRET: Runopenssl rand -hex 32to generate.VAULT_ENCRYPTION_KEY: Runopenssl rand -hex 32to generate.
5
Run Database Migrations
Vercel automatically triggers Prisma / Drizzle schema pushes during the build step:
Your serverless Indic8 instance is now live and ready to receive webhook streams.