From 4a7f6597c47e56a42c3985e2d097e606ef5ef29d Mon Sep 17 00:00:00 2001 From: zhsama Date: Fri, 30 Jan 2026 02:58:59 +0800 Subject: [PATCH] chore: Add script to start API server without debug mode --- dev/start-api-without-debug | 11 +++++++++++ 1 file changed, 11 insertions(+) create mode 100755 dev/start-api-without-debug diff --git a/dev/start-api-without-debug b/dev/start-api-without-debug new file mode 100755 index 0000000000..c6136ed5e1 --- /dev/null +++ b/dev/start-api-without-debug @@ -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