First time here? Check out the FAQ!
0

How to run askbot on gunicorn?

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?

ezequielc's avatar
1
ezequielc
asked 2014-07-28 10:37:29 -0600
edit flag offensive 0 remove flag close merge delete

Comments

add a comment see more comments

1 Answer

0

I found a solution.

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

gunicorn wsgi:application

Hope it helps!

ezequielc's avatar
1
ezequielc
answered 2014-07-29 08:20:16 -0600
edit flag offensive 0 remove flag delete link

Comments

add a comment see more comments