我下载了Django-oscar&安装它(制作沙箱) runserver工作正常
用于部署
我将latest.wsgi文件复制到sandbox文件夹&将其重命名为wsgi.py
我也编辑它
# Project root
root = '/home/test/oscaruni/django-oscar-releases-0.7/sites/sandbox'
sys.path.insert(0, root)
# Packages from virtualenv
activate_this = '/home/test/oscaruni/django-oscar-releases-0.7/oscar/bin/activate_this.py'
execfile(activate_this, dict(__file__=activate_this))
然后
(oscar)test@debian:~/oscaruni/django-oscar-releases-0.7/sites/sandbox$ gunicorn wsgi:application --bind 127.0.0.1:8001
闪烁的光标仍在命令行中
我如何配置gunicorn以使用沙箱django-oscar?