wowstash/bin/prod
2020-09-25 00:25:35 -07:00

8 lines
229 B
Bash
Executable file

#!/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