npm-workspaces monorepo:
apps/greyscout: GreyScout, the scouting appapps/preflight: Preflight, the offline-first pit crew app (seeapps/preflight/docs/architecture.md)packages/common: shared Vue components, styles, and the Supabase clientsupabase/: the shared Supabase project
- Clone the repo
- Install all npm dependencies:
npm install- (optional) Install all python util dependencies:
cd util
uv sync- Set the
TBA_API_KEYsecret on the linked Supabase project — required for thetba-proxyEdge Function (in-app TBA sync and OPR/DPR display) to work. Use the same key asutil/private_credentials.json'stba.api_key:
supabase secrets set TBA_API_KEY=<your-tba-api-key>To start GreyScout in development mode:
npm run devTo start Preflight in development mode (or use serve:preflight to test the offline service worker at http://localhost:4173):
npm run dev:preflightTo format the code:
npm run formatTo update the event/team database:
cd util
uv run python main.pyTo start in production mode:
npm start