Not original work, just a version of the Getting Started with Python on Heroku (https://devcenter.heroku.com/articles/python)