Files
FishServer/scripts/start_fresh.sh
2026-05-06 15:59:38 +08:00

13 lines
499 B
Bash
Raw Blame History

This file contains ambiguous Unicode characters
This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.
#!/usr/bin/env bash
# 仓库根入口:等价于 fish_api/start_fresh.sh先 prestart_fresh 再 uvicorn
#
# bash scripts/start_fresh.sh
# PORT=8001 bash scripts/start_fresh.sh
#
# 强制清空中间输出目录(重新生成点云等):
# CLEAR_MEASURE_OUTPUT=1 bash scripts/start_fresh.sh
# CLEAR_MEASURE_OUTPUT=1 CLEAR_ACTION_OUTPUT=1 bash scripts/start_fresh.sh
set -euo pipefail
ROOT="$(cd "$(dirname "${BASH_SOURCE[0]}")/.." && pwd)"
exec bash "$ROOT/fish_api/start_fresh.sh"