wowstash/bin/prod

9 lines
229 B
Text
Raw Normal View History

2020-09-25 07:25:35 +00:00
#!/bin/bash
source .venv/bin/activate
export FLASK_APP=wowstash/app.py
export FLASK_SECRETS=config.py
export FLASK_DEBUG=0
export FLASK_ENV=production
gunicorn --bind 0.0.0.0:4000 "wowstash.app:app" -D --log-file ./data/app.log