Browse Source

Ajusta simple_gunicorn.sh para novo padrão

pull/854/head
Edward Ribeiro 8 years ago
committed by Eduardo Edson Batista Cordeiro Alves
parent
commit
95b138ac9f
  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_WSGI_MODULE=sapl.wsgi # WSGI module name (*)
cd $DJANGODIR
source ~/.virtualenvs/sapl/bin/activate
source /var/interlegis/.virtualenvs/sapl/bin/activate
export DJANGO_SETTINGS_MODULE=$DJANGO_SETTINGS_MODULE
export PYTHONPATH=$DJANGODIR:$PYTHONPATH

Loading…
Cancel
Save