FastAPI server for Media Cloud Vitals page https://vitals.mediacloud.org/
- Run
make installto create virtual environment . .venv/bin/activateto activate venv./test.shto run api.py outside docker
- Add to
pyproject.toml - Run
make lock - commit pyproject.toml and uv.lock to git
./setup.sh staging
./setup.sh prod
Merge main to staging, push to github.com/mediacloud/vitals-api and run:
make deploy
- Update pyproject.toml version, run
make lockcommit to the main branch, and push to github - Merge into staging branch, push and run
make deploy - Merge into prod branch, push and run
make deploy