Rechentrainer/app.sh
2021-06-01 10:21:59 +00:00

8 lines
161 B
Bash
Executable File

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