run.sh 152 Bytes
Newer Older
midgard's avatar
midgard committed
1 2 3
#!/bin/bash

cd "$(dirname "$0")"
midgard's avatar
midgard committed
4
pipenv install
midgard's avatar
midgard committed
5
export FLASK_APP=chat.py
j's avatar
j committed
6
exec pipenv run gunicorn --worker-class eventlet -w 1 -b0.0.0.0:5000 chat:app