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

Popular posts from this blog

javascript - RequestAnimationFrame not working when exiting fullscreen switching space on Safari -

jsf - How to ajax update an item in the footer of a PrimeFaces dataTable? -

django - CSRF verification failed. Request aborted. CSRF cookie not set -