python - configure gunicorn to work with sandbox django-oscar -
i download django-oscar & install (make sandbox) runserver works fine
for deployment
i copy latest.wsgi file sandbox folder & rename wsgi.py
i edit
# project root root = '/home/test/oscaruni/django-oscar-releases-0.7/sites/sandbox' sys.path.insert(0, root) # packages virtualenv activate_this = '/home/test/oscaruni/django-oscar-releases-0.7/oscar/bin/activate_this.py' execfile(activate_this, dict(__file__=activate_this)) then
(oscar)test@debian:~/oscaruni/django-oscar-releases-0.7/sites/sandbox$ gunicorn wsgi:application --bind 127.0.0.1:8001 blinking cursor remains in command line
how configure gunicorn work sandbox django-oscar ?
Comments
Post a Comment