What exactly is Heroku?

Heroku is a cloud platform as a service. That means you do not have to worry about infrastructure; you just focus on your application. In addition to what Jonny said, there are a few features of Heroku: Instant Deployment with Git push – build of your application is performed by Heroku using your build scripts … Read more

Redeploy Heroku app without code changes

Normally setting a config var causes your application to be restarted. In most situations there should be no need to redeploy after doing this. If you really do need to trigger a new deployment you can add a new empty commit, then push to Heroku again: git commit –allow-empty -m “Trigger Heroku deploy after enabling … Read more

Easy way to prevent Heroku idling?

You can install the free New Relic add-on. It has an availability monitor feature that will ping your site twice per minute, thus preventing the dyno from idling. More or less the same solution as Jesse but maybe more integrated to Heroku… And with a few perks (performance monitoring is just great). Note: to all … Read more

heroku – how to see all the logs

Update (thanks to dawmail333): heroku logs -n 1500 or, to tail the logs live heroku logs -t Heroku log documentation If you need more than a few thousand lines you can Use heroku’s Syslog Drains Alternatively (old method): $ heroku run rails c File.open(‘log/production.log’, ‘r’).each_line { |line| puts line }