mirror of
https://github.com/langgenius/dify.git
synced 2026-02-09 23:20:12 -05:00
chore: Add script to start API server without debug mode
This commit is contained in:
11
dev/start-api-without-debug
Executable file
11
dev/start-api-without-debug
Executable 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
|
||||
Reference in New Issue
Block a user