Skip to content

How I Got a Tornado App Running on Heroku in 10 Seconds

2012 April 26

I’d been wanting to try out Heroku and Tornado for a while, so why not try them together?  I found a nice starter repo by Mike Dory, co-author of the O’Reilly Tornado book, so I figured I’d use that.  I forked it and rearranged it a bit, and it worked perfectly!  Here’s what I did:

  1. I’m on a brand new computer, so I had to install some basic stuff first:
    1. Setuptools:
      sudo curl http://python-distribute.org/distribute_setup.py | sudo python
    2. PIP:
      sudo curl https://raw.github.com/pypa/pip/master/contrib/get-pip.py | sudo python
  2. Get the starter repo.
  3. Make a Heroku account if you don’t have one and set it up.
  4. Make init-project.sh runnable:
    chmod +x init-project.sh
  5. Run
    ./init-project.sh
  6. That should be it, and your Heroku app is live!

Let me know if this works for y’all!

Related Posts:


  • hok

    big help. thanks!

  • Patrick Walmsley

    Had an issue with the first command on osX 10.9. The sudo wasn’t vaidating my password. I ran sudo ls to become sudo, then ran the command as it was provided.