final adjustments before push
This commit is contained in:
parent
d7347a8632
commit
1ba4e1f60e
4
bin/prod
4
bin/prod
|
@ -3,7 +3,7 @@
|
||||||
BASE=data/gunicorn
|
BASE=data/gunicorn
|
||||||
|
|
||||||
source .venv/bin/activate
|
source .venv/bin/activate
|
||||||
export FLASK_APP=nodes/app.py
|
export FLASK_APP=xmrnodes/app.py
|
||||||
export FLASK_SECRETS=config.py
|
export FLASK_SECRETS=config.py
|
||||||
export FLASK_DEBUG=0
|
export FLASK_DEBUG=0
|
||||||
export FLASK_ENV=production
|
export FLASK_ENV=production
|
||||||
|
@ -11,7 +11,7 @@ export FLASK_ENV=production
|
||||||
mkdir -p $BASE
|
mkdir -p $BASE
|
||||||
|
|
||||||
gunicorn \
|
gunicorn \
|
||||||
--bind 0.0.0.0:4000 "nodes.app:app" \
|
--bind 127.0.0.1:4000 "xmrnodes.app:app" \
|
||||||
--daemon \
|
--daemon \
|
||||||
--log-file $BASE/gunicorn.log \
|
--log-file $BASE/gunicorn.log \
|
||||||
--pid $BASE/gunicorn.pid \
|
--pid $BASE/gunicorn.pid \
|
||||||
|
|
|
@ -3,3 +3,4 @@ flask
|
||||||
peewee
|
peewee
|
||||||
gunicorn
|
gunicorn
|
||||||
arrow
|
arrow
|
||||||
|
flask_wtf
|
||||||
|
|
Loading…
Reference in New Issue