cammiechat/run.sh

7 lines
128 B
Bash
Raw Permalink Normal View History

2018-12-04 20:07:17 +01:00
#!/bin/bash
cd "$(dirname "$0")"
2018-12-04 21:12:34 +01:00
pipenv install
2018-12-04 20:07:17 +01:00
export FLASK_APP=chat.py
2018-12-04 21:12:34 +01:00
exec pipenv run gunicorn -w 1 -b0.0.0.0:5000 chat:app