12 lines
414 B
Bash
Executable File
12 lines
414 B
Bash
Executable File
#!/usr/bin/env bash
|
|
# 仓库根目录入口:与 fish_api/start.sh 等价(启动前清空 SQLite、watch 状态、measure/action 输出目录等)
|
|
#
|
|
# conda activate fishserver # 若不用 uv
|
|
# export PUBLIC_BASE_URL=http://<本机对外IP>:8001
|
|
# PORT=8001 bash scripts/run_fishserver.sh
|
|
#
|
|
set -euo pipefail
|
|
|
|
ROOT="$(cd "$(dirname "${BASH_SOURCE[0]}")/.." && pwd)"
|
|
exec bash "$ROOT/fish_api/start.sh"
|