This guide focuses on the beta-critical LCopilot surfaces in the monorepo.
npm install
cd apps/api
pip install -r requirements.txt
cd ../web
npm installCopy the repo templates and fill in the values you need:
cp .env.example .env
cp apps/api/.env.example apps/api/.env
cp apps/web/.env.example apps/web/.envFor local beta-focused work, the important values are:
- database connection
- Supabase auth values
VITE_API_URL- OCR and storage credentials if you want non-stub validation
cd apps/api
alembic upgrade headcd apps/api
uvicorn main:app --reloadUseful checks:
http://localhost:8000/docshttp://localhost:8000/healthzhttp://localhost:8000/health/livehttp://localhost:8000/health/ready
cd apps/web
npm run devPrimary beta pages to exercise:
/login/lcopilot/exporter-dashboard/lcopilot/importer-dashboard
npm run build
npm run test
cd apps/web && npm run test && npm run build
cd apps/api && pytestFor beta-critical local work, verify this order:
- login and logout
- dashboard routing
- exporter upload and results
- importer upload and results
- history and reopen path
- quota or paywall behavior
If a change does not improve one of those loops, it is probably not first-priority beta work.