Platform setup / Deployment guide
Connect Race Control.
The application uses a dedicated database and Discord sign-in. Your public ASCRL website stays on its existing hosting.
Production destination
racecontrol.ascrl.online
No service credentials are included in this repository. Complete these steps to activate your deployment.
Setup checklist
- Create a dedicated Supabase projectUse its SQL editor or Supabase CLI to apply the migrations in
racecontrol/supabase/migrationsin filename order. - Configure Discord OAuthCreate an application in the Discord Developer Portal. Add the Supabase Auth callback URL. Put the Discord client ID and secret in Supabase’s Discord provider settings.
- Configure environment variablesCopy
.env.exampleto.env.localfor local development. Set the Supabase URL, public publishable key, and site URL. No service-role key is used. - Deploy to VercelImport the feature branch and choose
racecontrolas the root directory. Add the same variables. Set the site URL tohttps://racecontrol.ascrl.online. - Finish redirects and the subdomainAdd the application’s
/auth/callbackURL to Supabase’s redirect allow list. Add the subdomain in Vercel and apply the exact DNS record Vercel provides. - Sign in and bootstrap the platform ownerAfter your first Discord login, copy your account UUID from Settings and follow the owner bootstrap SQL in the README. Then create your first league.
