2026-04-08 19:32:23 +08:00
|
|
|
#!/usr/bin/env bash
|
2026-04-09 11:54:30 +08:00
|
|
|
# 仓库根目录入口:与 fish_api/start.sh 等价
|
2026-04-08 19:32:23 +08:00
|
|
|
#
|
2026-04-09 11:54:30 +08:00
|
|
|
# conda activate fishserver # 若不用 uv
|
|
|
|
|
# export PUBLIC_BASE_URL=http://<本机对外IP>:8001
|
2026-04-08 19:32:23 +08:00
|
|
|
# PORT=8001 bash scripts/run_fishserver.sh
|
|
|
|
|
#
|
|
|
|
|
set -euo pipefail
|
|
|
|
|
|
|
|
|
|
ROOT="$(cd "$(dirname "${BASH_SOURCE[0]}")/.." && pwd)"
|
2026-04-09 11:54:30 +08:00
|
|
|
exec bash "$ROOT/fish_api/start.sh"
|