Upgrade to Pro — share decks privately, control downloads, hide ads and more …

Django on Heroku

Django on Heroku

Slides from my lunch and learn presentation @waveaccounting.

Michael Warkentin

March 16, 2012
Tweet

More Decks by Michael Warkentin

Other Decks in Technology

Transcript

  1. Over 30 addons including: • Redis • New Relic •

    Papertrail • RabbitMQ • Sentry • Sendgrid Friday, 16 March, 12
  2. Procfile web: python app/manage.py run_gunicorn -b 0.0.0.0:$PORT -w 3 worker:

    python app/manage.py celeryd Friday, 16 March, 12
  3. New version created on: • Every code push • `git

    push heroku master` • Every config change • `heroku config:add DEBUG=True` Friday, 16 March, 12
  4. Unanswered questions • Graceful reload of gunicorn for local development

    • Still cycling it manually when I make changes to .py files • How hard is it to use a custom buildpack? • https://github.com/bolster/heroku-buildpack-bolster/ commit/ae6dd97b9bdc9db29fd286f76f40d104c48b6a7c • Can we get Wave Accounting running on Heroku? Friday, 16 March, 12