CI / ruff · pytest (pull_request) Successful in 2m34s
Requirement: no extra software beyond the regulated set. The web app is built in a Node stage and served by nginx (:8080, /api → app, SSE unbuffered); the server override keeps it off (host nginx serves the bundle). Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
33 lines
618 B
Makefile
33 lines
618 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 "Patient app: http://localhost:8080 API: http://localhost:8000/docs Doctor/demo console: 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
|