Crank dat!
This commit is contained in:
17 files changed
+6624
No files matched your search
@@ -0,0 +1,14 @@
|
||||
#!/usr/bin/env bash
|
||||
set -euo pipefail
|
||||
cd "$(dirname "$0")"
|
||||
|
||||
if [ ! -x .venv/bin/python ]; then
|
||||
python3 -m venv .venv
|
||||
fi
|
||||
|
||||
if ! .venv/bin/python -c "import aiohttp, bs4" >/dev/null 2>&1; then
|
||||
.venv/bin/pip install --quiet --upgrade pip
|
||||
.venv/bin/pip install --quiet -r requirements.txt
|
||||
fi
|
||||
|
||||
exec .venv/bin/python app.py "$@"
|
||||
Reference in new issue
Block a user