开发者

gunicorn and django project (no app)

I have a django project, and I want to deploy it with gunicorn/nginx. But I use settings.py urls.py views.py directly without start a django app, and gunicorn needs application name.

How can I deploy a django proje开发者_JAVA百科ct which has no app.


You don't need an application name with gunicorn_django command. just run gunicorn_django command in your projetc folder or tel him the path of settings

http://gunicorn.org/run.html#gunicorn-django

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜