add wsgi handler
This commit is contained in:
parent
febedf57cb
commit
96225145c1
7
app.sh
Executable file
7
app.sh
Executable file
@ -0,0 +1,7 @@
|
||||
#!/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
|
Loading…
x
Reference in New Issue
Block a user