This commit is contained in:
eric
2026-03-28 02:39:29 -05:00
parent 243b9d7acb
commit 4b3c6cbee4
23 changed files with 1468 additions and 173 deletions

8
dev.sh Normal file
View File

@@ -0,0 +1,8 @@
#!/usr/bin/env bash
# 开发API(热重载) + Next dev浏览器打开 http://localhost:3000
set -euo pipefail
cd "$(dirname "$0")"
export PORT="${PORT:-8001}"
PY=python3
command -v python3 >/dev/null 2>&1 || PY=python
exec "$PY" scripts/launch.py --dev --port "$PORT"