Makefile targets¶
The generated Makefile provides all the commands you need for daily development.
dev¶
Starts the full development stack via Docker Compose:
- Postgres 17 container starts and waits for health check
- Migrate service runs
alembic upgrade head - App starts with
uvicorn --reload
All three services use the dev compose overlay, so everything runs locally with no external dependencies.
dev-down¶
Stops and removes all dev containers. Postgres data is preserved in the pgdata volume.
run¶
Runs the app directly with uvicorn (no Docker). Useful when you have Postgres running separately. Uses the DB_URL variable from the Makefile.
migrate¶
Applies all pending Alembic migrations against the local database.
migrate-make¶
Generates a new Alembic migration by comparing your models against the current database schema. The name parameter is required and becomes part of the migration filename.
test¶
Runs the test suite with pytest. Tests use bluefox-test which automatically starts a Postgres container via testcontainers — no local database needed.