Local Development
Docker Compose is the primary way to run Corvid (see Installation), but each part can also run directly on the host for faster iteration.
Backend
Section titled “Backend”cd backenduv pip install -r requirements.txtpytestA stale or partial local venv can pass tests locally while missing an import error that a full install would catch, so re-sync before trusting a green run.
Migrations run automatically against a fresh database via Base.metadata.create_all() on
startup outside Docker; to run Alembic migrations manually:
docker compose run --rm backend alembic upgrade headFrontend
Section titled “Frontend”cd frontendyarn start # dev server, uses --openssl-legacy-provideryarn test # Vitestyarn lint # ESLintDocs site
Section titled “Docs site”cd websiteyarn dev # Astro dev serveryarn build # static build to website/dist/Full stack via Docker
Section titled “Full stack via Docker”make up/make rebuild— start (or rebuild + start) the full stack.make up-backend/make rebuild-backend,make up-frontend/make rebuild-frontend— per-service.