21 lines
380 B
Makefile
21 lines
380 B
Makefile
.PHONY: dev test test-docker init-db seed-demo reminders
|
|
|
|
dev:
|
|
uvicorn app.main:app --reload
|
|
|
|
test:
|
|
pytest -q
|
|
|
|
# Runs the suite inside Docker, independent of the host Python environment.
|
|
test-docker:
|
|
docker compose --profile test run --rm --build tests
|
|
|
|
init-db:
|
|
python -m app.cli init-db
|
|
|
|
seed-demo:
|
|
python -m app.cli seed-demo
|
|
|
|
reminders:
|
|
python -m app.cli send-reminders
|