开发者

gunicorn and django project (no app)

开发者 https://www.devze.com 2023-02-17 22:08 出处:网络
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.

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

精彩评论

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