fuck this docker shit, gunicorn local

This commit is contained in:
lza_menace 2020-08-11 00:15:11 -07:00
parent 936daacc05
commit ca0c515ddc
5 changed files with 8 additions and 28 deletions

8
bin/prod Normal file
View file

@ -0,0 +1,8 @@
#!/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