|
|
@ -11,7 +11,7 @@ export FLASK_ENV=production
|
|
|
|
mkdir -p $BASE
|
|
|
|
mkdir -p $BASE
|
|
|
|
|
|
|
|
|
|
|
|
gunicorn \
|
|
|
|
gunicorn \
|
|
|
|
--bind 0.0.0.0:4000 "suchwow.app:app" \
|
|
|
|
--bind 127.0.0.1:4000 "suchwow.app:app" \
|
|
|
|
--daemon \
|
|
|
|
--daemon \
|
|
|
|
--log-file $BASE/gunicorn.log \
|
|
|
|
--log-file $BASE/gunicorn.log \
|
|
|
|
--pid $BASE/gunicorn.pid \
|
|
|
|
--pid $BASE/gunicorn.pid \
|
|
|
|