CI / ruff · pytest (pull_request) Successful in 1m50s
One Postgres with isolated identity/clinical databases and roles (ADR-003), FastAPI /health, Streamlit placeholder, typed settings with offline defaults. Refs #1 Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
33 lines
572 B
Makefile
33 lines
572 B
Makefile
.PHONY: install up down logs seed demo-reset lint fmt test
|
|
|
|
install:
|
|
uv sync
|
|
|
|
up:
|
|
@test -f .env || cp .env.example .env
|
|
docker compose up -d --build
|
|
@echo "API: http://localhost:8000/docs Dashboard: http://localhost:8501"
|
|
|
|
down:
|
|
docker compose down
|
|
|
|
logs:
|
|
docker compose logs -f app dashboard
|
|
|
|
seed:
|
|
docker compose exec app python -m scripts.seed_demo
|
|
|
|
demo-reset:
|
|
docker compose exec app python -m scripts.seed_demo --reset
|
|
|
|
lint:
|
|
uv run ruff check .
|
|
uv run ruff format --check .
|
|
|
|
fmt:
|
|
uv run ruff check --fix .
|
|
uv run ruff format .
|
|
|
|
test:
|
|
uv run pytest -q
|