Skip to content
All setup guides

Dashboard and website

Run the dashboard

Nothing to install to use it — sign in and open the dashboard. This is for running the site locally, or deploying your own copy.

Runs on · Anywhere — it is a website

  1. Install and start it

    Node 24 and pnpm. The site talks to the same Supabase project as the deployed one, so what you see locally is real data.

    • cd web
    • pnpm install
    • pnpm dev
  2. Point it at Supabase

    Three variables in web/.env.local. The build succeeds without them — the operator area degrades rather than the site blanking — but sign-in will not work.

    • NEXT_PUBLIC_SUPABASE_URL
    • NEXT_PUBLIC_SUPABASE_ANON_KEY
    • NEXT_PUBLIC_SITE_URL

    Never put the service-role key in this file. It bypasses row-level security, and anything in a NEXT_PUBLIC_ variable is shipped to the browser.

  3. Deploy it

    Vercel, with the root directory set to web. Left unset, Vercel scans the repository root, finds the agent's pyproject.toml, decides this is a FastAPI project and fails the build asking for an entrypoint. Never give it one: the agent talks to a USB radio and cannot run in the cloud.

    • Root Directory: web
    • The same three environment variables, in the Vercel project
    • Pushes to main deploy on their own

When it will not build

Both of these have caught someone on this project.

Vercel asks for a FastAPI entrypoint

Usually: The root directory is not set to web, so it detected the flight agent.

Set Root Directory to web in the Vercel project settings. .vercelignore is a second line of defence, not the fix.

A page says the table could not be found

Usually: A migration was applied by hand and PostgREST is still holding its old schema.

Run notify pgrst, 'reload schema'; against the database. Until then new tables answer 404 PGRST205 even though they exist.