Vercel
Deploy DirectoryKit to Vercel.
Overview
DirectoryKit is optimized for deployment on Vercel, the platform built by the creators of Next.js.
Deployment steps
See the Deploy in 5 Minutes tutorial for a step-by-step guide.
Build settings
Vercel auto-detects Next.js. The build command is:
next build --webpackDirectoryKit uses webpack mode (not Turbopack) due to custom configuration in next.config.ts.
Cron jobs
Configure cron jobs in vercel.json:
{
"crons": [
{
"path": "/api/cron/account-notifications",
"schedule": "0 9 * * *"
}
]
}Cron endpoints are secured with Authorization: Bearer ${CRON_SECRET}.
Environment variables
Add all variables from .env.local to your Vercel project settings. See Environment Variables for the full list.