diff --git a/run.sh b/run.sh index bd2e5b1..b6b01b1 100755 --- a/run.sh +++ b/run.sh @@ -2,10 +2,10 @@ set -x set -e +git pull +if [ -d .venv ]; then + python3 -m venv .venv +fi source .venv/bin/activate - -while python matchy.py -do - git pull - python -m pip install -r requirements.txt -done +python -m pip install -r requirements.txt +python matchy.py