|
@ -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 |
|
|
|
|
|
|
|
|