DirFast Docs
Deploy to Vercel
Deploy DirFast, connect Supabase, and verify production integrations.
DirFast Docs
Deploy DirFast, connect Supabase, and verify production integrations.
Vercel can deploy DirFast directly from the Git repository. Complete the local setup first so the production deployment uses a known-good schema and configuration.
Create or select a hosted Supabase project, then push the repository migrations.
supabase login
supabase link --project-ref <project-ref>
supabase db pushCopy the project's URL, anon key, and service role key from Project Settings → API. Follow the Supabase guide to configure the Auth Site URL, callback URL, storage bucket, and first admin user.
Add the required values under Project Settings → Environment Variables for Production, Preview, and Development as needed.
NEXT_PUBLIC_APP_URL=https://<your-domain>
NEXT_PUBLIC_SUPABASE_URL=https://<project-ref>.supabase.co
NEXT_PUBLIC_SUPABASE_ANON_KEY=<supabase-anon-key>
SUPABASE_SERVICE_ROLE_KEY=<supabase-service-role-key>Add the Resend, Dodo Payments, Inngest, AI, analytics, and notification variables described in Environment variables. Use test-mode payment credentials for Preview and live credentials for Production.
Click Deploy and watch the build logs. A successful build should finish with the Next.js production output. Open the generated deployment URL and verify the home page, a listing page, authentication, and /admin.
Set NEXT_PUBLIC_APP_URL to the final production domain after connecting it in Vercel, then redeploy. This value is used for canonical metadata, Auth callback links, email links, and the sitemap.
In Supabase Authentication, set the Site URL to the production domain and add:
https://<your-domain>/auth/callbackIn Dodo Payments, set the webhook URL to:
https://<your-domain>/api/webhookIf Inngest is enabled, register:
https://<your-domain>/api/inngestUse the exact production URLs and signing keys supplied by each provider.
NEXT_PUBLIC_APP_URL matches the Vercel custom domain./auth/callback on that domain.ADMIN role and /admin is accessible./sitemap.xml and robots metadata points to it.When you change environment variables in Vercel, redeploy the project so the new values are used by the build and server functions.