Deploying Django on Heroku
blog.abhiomkar.in
Deploying Django on Heroku
1–10 of 21 posts
Re: Deploying Django on Heroku
#2Re: Deploying Django on Heroku
#3Re: Deploying Django on Heroku
#4There are some nice pure-Python web servers though. To someone who knows more about Heroku's stack, if I replace “manage.py runserver” with, say, CherryPy, would there be any Heroku-specific performance issues to consider?
Re: Deploying Django on Heroku
#5This is running via runserver, right? Don't use this for production. There are some nice pure-Python web servers though. To someone who knows more about Heroku's stack, if I replace “manage.py runserver” with, say, CherryPy, would there be any Heroku-specific performance issues to consider?
Re: Deploying Django on Heroku
#6Re: Deploying Django on Heroku
#7This is running via runserver, right? Don't use this for production. There are some nice pure-Python web servers though. To someone who knows more about Heroku's stack, if I replace “manage.py runserver” with, say, CherryPy, would there be any Heroku-specific performance issues to consider?
(I would use gunicorn)
"DO NOT USE THIS SERVER IN A PRODUCTION SETTING."
(https://docs.djangoproject.com/en/1.3/ref/django-admin/#runs... )
Re: Deploying Django on Heroku
#8This is running via runserver, right? Don't use this for production. There are some nice pure-Python web servers though. To someone who knows more about Heroku's stack, if I replace “manage.py runserver” with, say, CherryPy, would there be any Heroku-specific performance issues to consider?
(I would use gunicorn)
Re: Deploying Django on Heroku
#9This is running via runserver, right? Don't use this for production. There are some nice pure-Python web servers though. To someone who knows more about Heroku's stack, if I replace “manage.py runserver” with, say, CherryPy, would there be any Heroku-specific performance issues to consider?
In your requirements.txt, add "Twisted". In your procfile, try something like:
web: bin/python ./twistd -n web --port=$PORT --wsgi fully.qualified.app.name