Use Python 3.11 for this repo. The Docker image and GitHub Actions deploy workflow both target Python 3.11, so local development should match that runtime.
All commands below run from the repo root unless noted otherwise.
python3.11 -m venv .venv
source .venv/bin/activate
pip install --upgrade pip
pip install -r requirements.txt
pip install -r requirements-dev.txtIf you use pyenv, asdf, or mise, the repo-level .python-version pins the interpreter to 3.11.
cd frontend
npm ci
npm run buildpip install pre-commit
pre-commit install
pre-commit run --files <changed-files>Use pre-commit run --all-files only when you intentionally want a repo-wide cleanup sweep.
CI-critical checks:
python -m pytest tests/test_admin_auth.py tests/test_smoke.py -v --tb=shortFull suite:
python -m pytest tests/ -q