's'
This commit is contained in:
8
dev.sh
8
dev.sh
@@ -3,6 +3,10 @@
|
||||
set -euo pipefail
|
||||
cd "$(dirname "$0")"
|
||||
export PORT="${PORT:-8001}"
|
||||
PY=python3
|
||||
command -v python3 >/dev/null 2>&1 || PY=python
|
||||
if [[ -x ".venv/bin/python" ]]; then
|
||||
PY=".venv/bin/python"
|
||||
else
|
||||
PY=python3
|
||||
command -v python3 >/dev/null 2>&1 || PY=python
|
||||
fi
|
||||
exec "$PY" scripts/launch.py --dev --port "$PORT"
|
||||
|
||||
Reference in New Issue
Block a user