I'm a Ruby on Rails / jQuery web developer. Follow me at @sikachu

Hoptoad ❤ Heroku

December 15th, 2010 Posted in My Project, Ruby, Ruby on Rails

Recently, I’ve started to migrate my application to Heroku. While most of the functionalities are there, one of the thing I was missing is Hoptoad‘s deploy tracking, as you cannot add a deploy hook to call Rake task as you normally do.

After I found that Heroku actually supports HTTP Post hook, I spend 2 hours reading API and hacking into hoptoad_notifier code. And now, I would like to presents you Hoptoad ❤ Heroku.

What is it?

It’s a middleware application that will converts parameters from Heroku’s HTTP Post hook to parameters that Hoptoad would understand.

How to use it?

You just add the HTTP Post deploy hook to your Heroku project. It should look something like this:

heroku addons:add deployhooks:http url=http://hoptoad-loves.heroku.com/YOUR_HOPTOAD_API_KEY/YOUR_RACK_ENV

You’d then substitute YOUR_HOPTOAD_API_KEY and YOUR_RACK_ENV to match your configuration.

You can find more information on GitHub or the site itself: http://hoptoad-loves.heroku.com/

(Please note that Hoptoad deploy tracking feature is only available in their paid plans.)


I hope you found it useful for your project. All of the code is hosted on GitHub. Contributions and feedbacks are always welcome.