14 lines
176 B
Bash
Executable File

#!/bin/sh
BASE=$(dirname $0)
cd $BASE
git pull
if [ -d env ];
then
python3 -m venv env
fi
source env/bin/activate
pip3 install -U -r requirements.txt
exec python3 app.py