cammiechat/run.sh

8 lines
153 B
Bash
Raw Normal View History

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