Skip to content

Commit

Permalink
Use gunicorn to run the default scif webapp
Browse files Browse the repository at this point in the history
  • Loading branch information
bdklahn committed Sep 8, 2023
1 parent 101ceff commit 0c04641
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion pepita.scif
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,8 @@ export DJANGO_PORT="${DJANGO_PORT:-8000}"

%apprun webapp
cd $SCIF_APPROOT/lib/webdesign &&
python manage.py runserver "0.0.0.0:$DJANGO_PORT"
gunicorn --bind ":$DJANGO_PORT" webdesign.wsgi
# python manage.py runserver "0.0.0.0:$DJANGO_PORT"

%apprun rivannawebapp
export SCIF_APPROOT=/scif/apps/webapp
Expand Down

0 comments on commit 0c04641

Please sign in to comment.