Skip to content
Snippets Groups Projects

continuous deployment flask and react

Merged David Werner requested to merge feature/continuous-deploy into master
1 file
+ 1
2
Compare changes
  • Side-by-side
  • Inline
+ 1
2
@@ -30,12 +30,11 @@ cat <<- EOF > gunicorn.cmdline.sh
source ./venv/bin/activate
export FLASK_ENV=production
# export FLASK_ENV=wsgi.py
export FLASK_APP_BASE_URL=/web-app
export FLASK_APP_SIMULATIONS_CONFIG=simulations.json
# have log file and stdout for journald
gunicorn -b "0.0.0.0:5000" --proxy-allow-from="*" --log-level debug --log-file=- --worker-tmp-dir /dev/shm --worker-class eventlet --workers 1 --threads 2 wsgi:application | tee gunicorn.log
gunicorn -b "0.0.0.0:5000" --proxy-allow-from="*" --log-level debug --log-file=- --worker-tmp-dir /dev/shm --worker-class eventlet --workers 1 --threads 2 wsgi:application |& tee gunicorn.log
EOF
Loading