heroku-django-demo-app
heroku-django-demo-app copied to clipboard
A demo Django-on-Heroku app.
This repo goes along with a how-to I've written for running Django on Heroku. You should probably check that out first.
A basic Django-on-Heroku example. Similar to what you get when you follow the Heroku Django starter doc, but with some extra bits:
- Runs on gunicorn with the gevent worker class, to safely handle direct Web traffic.
- Uses
django-storages
andboto
to store and serve static files and uploaded media in Amazon S3. - Cache is enabled as per the Heroku memcached docs.
- GzipMiddleware is enabled.
- Uses the Heroku "piggyback" SSL addon and a Django middleware to enforce SSL.
An example of this demo (more or less) is running at https://tigas-test-app.herokuapp.com/ (with the adminsite disabled).