Ask Your Question
0

How to run askbot on gunicorn?

asked 2014-07-28 10:37:29 -0500

ezequielc's avatar

I am struggling to have askbot running on gunicorn. Previously, we could use

python manage.py run_gunicorn

But now I get a warning:

!!!
!!! WARNING: This command is deprecated.
!!! 
!!!         You should now run your application with the WSGI interface
!!!         installed with your project. Ex.:
!!! 
!!!             gunicorn myproject.wsgi:application
!!! 
!!!         See https://docs. djangoproject.com/en/1.5/howto/deployment/wsgi/gunicorn/
!!!         for more info.
!!!

So, how can I run it now?

edit retag flag offensive close merge delete

1 Answer

Sort by ยป oldest newest most voted
0

answered 2014-07-29 08:20:16 -0500

ezequielc's avatar

I found a solution.

I had to rename django.wsgi to wsgi.py and run

gunicorn wsgi:application

Hope it helps!

edit flag offensive delete link more

Your Answer

Please start posting anonymously - your entry will be published after you log in or create a new account.

Add Answer

Question Tools

1 follower

Stats

Asked: 2014-07-28 10:37:29 -0500

Seen: 2,092 times

Last updated: Jul 29 '14