chore: Add script to start API server without debug mode

This commit is contained in:
zhsama
2026-01-30 02:58:59 +08:00
parent 206d56358d
commit 4a7f6597c4

11
dev/start-api-without-debug Executable file
View File

@@ -0,0 +1,11 @@
#!/bin/bash
set -x
SCRIPT_DIR="$(dirname "$(realpath "$0")")"
cd "$SCRIPT_DIR/../api"
uv run flask db upgrade
uv run \
flask run --host 0.0.0.0 --port=5001