9 lines
195 B
Bash
Executable File
9 lines
195 B
Bash
Executable File
#!/bin/zsh
|
|
cd "$(dirname "$0")"
|
|
if [ ! -x .venv/bin/python ]; then
|
|
python3 -m venv .venv
|
|
.venv/bin/pip install -r requirements.txt
|
|
fi
|
|
export PORT="${PORT:-8765}"
|
|
exec .venv/bin/python -m app
|