Browse Source

Ajusta simple_gunicorn.sh para novo padrão

pull/856/head
Edward Ribeiro 8 years ago
parent
commit
81683a4def
  1. 4
      simple_gunicorn.sh

4
simple_gunicorn.sh

@ -1,9 +1,9 @@
DJANGODIR=/home/sapl31/sapl # Django project directory (*) DJANGODIR=/var/interlegis/sapl # Django project directory (*)
DJANGO_SETTINGS_MODULE=sapl.settings # which settings file should Django use (*) DJANGO_SETTINGS_MODULE=sapl.settings # which settings file should Django use (*)
DJANGO_WSGI_MODULE=sapl.wsgi # WSGI module name (*) DJANGO_WSGI_MODULE=sapl.wsgi # WSGI module name (*)
cd $DJANGODIR cd $DJANGODIR
source ~/.virtualenvs/sapl/bin/activate source /var/interlegis/.virtualenvs/sapl/bin/activate
export DJANGO_SETTINGS_MODULE=$DJANGO_SETTINGS_MODULE export DJANGO_SETTINGS_MODULE=$DJANGO_SETTINGS_MODULE
export PYTHONPATH=$DJANGODIR:$PYTHONPATH export PYTHONPATH=$DJANGODIR:$PYTHONPATH

Loading…
Cancel
Save