2021-06-01 10:32:26 +00:00

9 lines
170 B
Bash
Executable File

#!/bin/sh
BASE=$(dirname $0)
cd $BASE
git pull
source env/bin/activate
pip3 install -r requirements.txt
gunicorn -D --bind 0.0.0.0:80 --pid /var/run/webapp.pid wsgi:app