suchwow/bin/prod
2020-08-11 00:15:11 -07:00

8 lines
201 B
Bash

#!/bin/bash
source .venv/bin/activate
export FLASK_APP=suchwow/app.py
export FLASK_SECRETS=config.py
export FLASK_DEBUG=0
export FLASK_ENV=production
gunicorn --bind 0.0.0.0:4000 "suchwow.app:app" -D