setup kontor-schema

This commit is contained in:
Thomas Peetz
2025-04-21 21:45:06 +02:00
parent ee78af1abe
commit 6716103d0c
49 changed files with 1029 additions and 897 deletions
+5 -8
View File
@@ -3,15 +3,12 @@
clean:
find . -name '*.py[co]' -delete
virtualenv:
uv sync
@echo
@echo "VirtualENV Setup Complete. Now run: source env/bin/activate"
@echo
test:
pytest -v --cov --cov-report=term --cov-report=html:coverage-report
DB_HOST=localhost uv run pytest -v --cov --cov-report=term --cov-report=html:coverage-report
docker: clean
docker build -t kontor-api:latest .
docker build --target=production -t kontor-api -t kontor-api:0.1.0-SNAPSHOT .
dev:
uv run fastapi dev src/main.py --port 8008