From a37e457a012280b543d2a7e3dd608d9720032422 Mon Sep 17 00:00:00 2001 From: Sosokker Date: Fri, 27 Jun 2025 21:50:43 +0700 Subject: [PATCH] chore: add run command and target version --- Makefile | 4 ++++ ruff.toml | 1 + 2 files changed, 5 insertions(+) create mode 100644 ruff.toml diff --git a/Makefile b/Makefile index 4aef8b4..6c65037 100644 --- a/Makefile +++ b/Makefile @@ -4,6 +4,7 @@ help: @echo "Available targets:" @echo " create-tables - Create database tables using create_tables.py" @echo " install-deps - Install Python dependencies using uv" + @echo " start - Start fastAPI server on port 8000" @echo " help - Show this help message" install-deps: @@ -13,4 +14,7 @@ create-tables: @echo "Creating database tables..." uv run python scripts/create_tables.py +start: + uv run uvicorn app.main:app --port 8000 + .DEFAULT_GOAL := help \ No newline at end of file diff --git a/ruff.toml b/ruff.toml new file mode 100644 index 0000000..ffe8a58 --- /dev/null +++ b/ruff.toml @@ -0,0 +1 @@ +target-version="py312" \ No newline at end of file