Repository navigation
16 Production Deployment
Vicky Patel edited this page Nov 18, 2026
·
1 revision
Production Deployment Runbook, Environment Variables, and Edge Caching Setup
The production web platform for GitVerse is deployed on Vercel with global edge CDN routing:
- Production URL: https://mygitverse.vercel.app
- Runtime: Go Serverless Runtime (Native Go binary execution at edge)
To deploy an instance of GitVerse, configure the following environment variables in the Vercel Project Dashboard:
| Variable Name | Required | Description | Example / Recommended Value |
|---|---|---|---|
GH_BOT_TOKEN |
Yes | GitHub PAT used for /api/stars edge caching and public scraping rate limit fallback |
ghp_xxxxxxxxxxxxxxxxxxxx |
STATE_SECRET |
Yes | High-entropy random secret for signing OAuth state anti-CSRF HMAC tokens |
openssl rand -hex 32 |
BASE_URL |
Yes | Canonical root URL of the deployment | https://mygitverse.vercel.app |
GITHUB_CLIENT_ID |
Optional | GitHub OAuth Application Client ID for one-click private repo authorization | Ov23likBynkGbUgqYP1r |
GITHUB_CLIENT_SECRET |
Optional | GitHub OAuth Application Client Secret | Stored securely in Vercel Secret Store |
To enable one-click private repository authorization for your deployment:
- Navigate to GitHub Settings β Developer settings β OAuth Apps β New OAuth App.
- Set Application name:
GitVerse - Set Homepage URL:
https://mygitverse.vercel.app - Set Authorization callback URL:
https://mygitverse.vercel.app/auth/callback - Generate a Client Secret and copy both Client ID and Client Secret into your Vercel Environment Variables.
Every push to the main branch triggers an automated Vercel production deployment. Every pull request receives an isolated preview deployment URL (e.g. https://gitverse-git-feat-xxx.vercel.app).
If deploying via the Vercel CLI:
# Deploy preview build
vercel
# Deploy to production
vercel --prod| ποΈ Project Hub | π οΈ Developer Docs | π¬ Community & Support |
|---|---|---|
| GitHub Repository | System Architecture | Live Web App |
| Track Any Profile | Achievement Catalog | Open Issues |
| Explore Badge Guides | CLI Reference | Pull Requests |
| Project Roadmap | Testing & QA Matrix | Maintainer Runbook |