Files
SQLBot/start.sh
T
2025-07-30 18:21:17 +08:00

9 lines
226 B
Bash

SSR_PATH=/opt/sqlbot/g2-ssr
APP_PATH=/opt/sqlbot/app
nohup node $SSR_PATH/app.js &
nohup uvicorn main:mcp_app --host 0.0.0.0 --port 8001 &
cd $APP_PATH
uvicorn main:app --host 0.0.0.0 --port 8000 --workers 1 --proxy-headers