ooooo825
ooooo825

Reputation: 11

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 project which has no app.

Upvotes: 1

Views: 679

Answers (1)

user503612
user503612

Reputation: 47

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

Upvotes: 2

Related Questions