Files
saladeaula.digital/http-api/Makefile
2025-03-27 11:54:19 -03:00

28 lines
359 B
Makefile

build:
sam build --use-container
deploy: build
sam deploy --debug
start-api: build
sam local start-api
openapi:
uv run -m cli.openapi && \
uv run python -m http.server 80 -d swagger
seeds:
uv run -m cli.seeds
pytest:
uv run pytest
htmlcov: pytest
uv run python -m http.server 80 -d htmlcov
up:
docker compose up -d
down:
docker compose down