Files
saladeaula.digital/http-api/Makefile

25 lines
326 B
Makefile

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