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

rdbms - what exactly the undo information lives in oracle? -

bash - How do you programmatically add a bats test? -

clojure - 'get' replacement that throws exception on not found? -