chore: add reliable local business run scripts

This commit is contained in:
kris
2026-03-21 02:59:52 +08:00
parent c09a976628
commit 39216d18b4
7 changed files with 156 additions and 54 deletions

View File

@@ -1,7 +1,6 @@
#!/bin/sh
set -eu
cd /Users/kris/code/StoryForge/collector-service
python3 -m venv .venv
. .venv/bin/activate
pip install -r requirements.txt
uvicorn app.main:app --host 0.0.0.0 --port 8081 --reload
ROOT="$(CDPATH= cd -- "$(dirname "$0")/.." && pwd)"
"$ROOT/scripts/start_business.sh"