Files
FishServer/scripts/start_fresh.sh
2026-04-10 18:16:15 +08:00

13 lines
461 B
Bash
Executable File
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
#
# 保留测量输出目录以复用点云(配合 .env 中 MEASURE_REUSE_EXISTING_CLOUDS=true
# KEEP_MEASURE_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"