chore: add run command and target version

This commit is contained in:
Sosokker 2025-06-27 21:50:43 +07:00
parent 011de22885
commit a37e457a01
2 changed files with 5 additions and 0 deletions

View File

@ -4,6 +4,7 @@ help:
@echo "Available targets:" @echo "Available targets:"
@echo " create-tables - Create database tables using create_tables.py" @echo " create-tables - Create database tables using create_tables.py"
@echo " install-deps - Install Python dependencies using uv" @echo " install-deps - Install Python dependencies using uv"
@echo " start - Start fastAPI server on port 8000"
@echo " help - Show this help message" @echo " help - Show this help message"
install-deps: install-deps:
@ -13,4 +14,7 @@ create-tables:
@echo "Creating database tables..." @echo "Creating database tables..."
uv run python scripts/create_tables.py uv run python scripts/create_tables.py
start:
uv run uvicorn app.main:app --port 8000
.DEFAULT_GOAL := help .DEFAULT_GOAL := help

1
ruff.toml Normal file
View File

@ -0,0 +1 @@
target-version="py312"