mirror of
https://github.com/pewdiepie-archdaemon/odysseus.git
synced 2026-06-16 17:55:26 -04:00
Fix macOS launcher Python path usage
This commit is contained in:
+3
-3
@@ -90,9 +90,9 @@ if [ ! -d venv ]; then
|
|||||||
"$PY" -m venv venv
|
"$PY" -m venv venv
|
||||||
fi
|
fi
|
||||||
echo "▶ Installing Python packages (first run downloads a few — can take a few minutes)…"
|
echo "▶ Installing Python packages (first run downloads a few — can take a few minutes)…"
|
||||||
./venv/bin/python -m pip install --quiet --upgrade pip
|
"$PY" -m pip install --quiet --upgrade pip
|
||||||
# Not --quiet: this is the slow step, so show progress (and any real errors).
|
# Not --quiet: this is the slow step, so show progress (and any real errors).
|
||||||
./venv/bin/python -m pip install -r requirements.txt
|
"$PY" -m pip install -r requirements.txt
|
||||||
|
|
||||||
# 4. First-run setup: creates data dirs and prints an initial admin password
|
# 4. First-run setup: creates data dirs and prints an initial admin password
|
||||||
# the first time (idempotent — does nothing if already set up). Suppress its
|
# the first time (idempotent — does nothing if already set up). Suppress its
|
||||||
@@ -136,4 +136,4 @@ echo
|
|||||||
echo "▶ Starting Odysseus — it will open in your browser at $URL"
|
echo "▶ Starting Odysseus — it will open in your browser at $URL"
|
||||||
echo " (this takes a few seconds; press Ctrl+C here to stop)"
|
echo " (this takes a few seconds; press Ctrl+C here to stop)"
|
||||||
echo
|
echo
|
||||||
./venv/bin/python -m uvicorn app:app --host 127.0.0.1 --port "$PORT"
|
"$PY" -m uvicorn app:app --host 127.0.0.1 --port "$PORT"
|
||||||
|
|||||||
Reference in New Issue
Block a user