- Visit https://vercel.com/dashboard
- Click on your RepoPulse project
- Click Settings → Environment Variables
- Add these variables:
SECRET_KEY=your-super-secret-key-here
DEBUG=False
GITHUB_TOKEN=your-github-token-here
If you don't have a secret key, generate one:
import secrets
print(secrets.token_urlsafe(50))- Go to https://github.com/settings/tokens
- Click "Generate new token (classic)"
- Select scopes:
public_reporead:user
- Copy the token to Vercel environment variables
After adding environment variables:
- Go to your project dashboard
- Click "Deployments"
- Click "Redeploy" on the latest deployment
| Variable | Required | Description |
|---|---|---|
SECRET_KEY |
Yes | Django secret key for security |
DEBUG |
Yes | Set to False for production |
GITHUB_TOKEN |
No | GitHub API token for higher rate limits |
ALLOWED_HOSTS |
No | Comma-separated list of allowed hosts |
Would you like me to update your vercel.json and check your folder structure for you?