Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
D
Dumux Web App
Manage
Activity
Members
Labels
Plan
Issues
19
Issue boards
Milestones
Wiki
Code
Merge requests
2
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Container Registry
Model registry
Operate
Environments
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
dumux-repositories
Dumux Web App
Merge requests
!38
continuous deployment flask and react
Code
Review changes
Check out branch
Download
Patches
Plain diff
Merged
continuous deployment flask and react
feature/continuous-deploy
into
master
Overview
0
Commits
5
Pipelines
6
Changes
2
Merged
David Werner
requested to merge
feature/continuous-deploy
into
master
3 years ago
Overview
0
Commits
5
Pipelines
6
Changes
1
Expand
👍
0
👎
0
Merge request reports
Viewing commit
3643c545
Prev
Next
Show latest version
1 file
+
1
−
2
Inline
Compare changes
Side-by-side
Inline
Show whitespace changes
Show one file at a time
3643c545
cleanup
· 3643c545
David Werner
authored
3 years ago
catch also stderr
cd-setup/setup.sh
+
1
−
2
Options
@@ -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