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 | sudo python
    2. PIP:
      sudo curl | sudo python
  2. Get the starter repo.
  3. Make a Heroku account if you don’t have one and set it up.
  4. Make runnable:
    chmod +x
  5. Run
  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.