This commit is contained in:
zaiun xu
2026-04-09 15:21:21 +08:00
parent 5e1b2117c1
commit e1b514836e
8 changed files with 129 additions and 96 deletions

View File

@@ -1,5 +1,5 @@
#!/usr/bin/env bash
# 仓库根目录入口:与 fish_api/start.sh 等价
# 仓库根目录入口:与 fish_api/start.sh 等价(启动前清空 SQLite、watch 状态、measure/action 输出目录等)
#
# conda activate fishserver # 若不用 uv
# export PUBLIC_BASE_URL=http://<本机对外IP>:8001

View File

@@ -1,5 +1,5 @@
#!/usr/bin/env bash
# 仓库根目录入口:删除 SQLite 库文件(及旧 JSON 状态文件)后启动 Fish API
# 与 scripts/run_fishserver.sh 等价(历史名称保留);均会先执行 app.prestart_fresh 再启动 uvicorn
#
# bash scripts/start_fishapi_fresh.sh
# PORT=8001 bash scripts/start_fishapi_fresh.sh