chore: add local development env files and startup script

This commit is contained in:
Chris
2026-03-29 23:34:34 +08:00
parent c84d7286a1
commit 06d78fbec2
3 changed files with 26 additions and 1 deletions

6
scripts/start_dev.sh Executable file
View File

@@ -0,0 +1,6 @@
#!/usr/bin/env bash
set -euo pipefail
cd "$(dirname "$0")/.."
source .venv/bin/activate
exec uvicorn app.main:app --env-file .env.development --host 127.0.0.1 --port 8000 --reload