mirror of https://github.com/interlegis/sapl.git
Edward Ribeiro
9 years ago
2 changed files with 13 additions and 4 deletions
@ -1 +1,10 @@ |
|||||
|
DJANGODIR=/home/sapl31/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 |
||||
|
export DJANGO_SETTINGS_MODULE=$DJANGO_SETTINGS_MODULE |
||||
|
export PYTHONPATH=$DJANGODIR:$PYTHONPATH |
||||
|
|
||||
gunicorn --bind 10.1.2.119:8000 sapl.wsgi:application |
gunicorn --bind 10.1.2.119:8000 sapl.wsgi:application |
||||
|
Loading…
Reference in new issue