setup kontor-schema
This commit is contained in:
+5
-8
@@ -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
|
||||
|
||||
|
||||
Reference in New Issue
Block a user