mirror of
https://github.com/langgenius/dify.git
synced 2026-06-11 18:38:27 +08:00
chore: Add script to start API server without debug mode
This commit is contained in:
Executable
+11
@@ -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
|
||||
Reference in New Issue
Block a user