我下载 Django-oscar 并使用(制作沙箱)安装它,运行服务器工作正常
用于部署
我将 latest.wsgi 文件复制到沙盒文件夹并将其重命名为 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 ?