Reset Postgres DB on Heroku

In a Rails application you can you this tasks on localhost to reset the database. rake db:drop rake db:create rake db:migrate And that will delete the db schema, create a new one and run all migrations to create the tables. This is awesome! But if try to run this on heroku: heroku run rake db:dropContinue reading “Reset Postgres DB on Heroku”

Seamless Deployment with Heroku

By default there is no seamless deployment on Heroku. That means, if you do a git push, your app gets deployed and there is a little downtime. That’s just because how Heroku works. At first they kill your running dynos, then they build the new app, deploy it on new dynos and finally boot upContinue reading “Seamless Deployment with Heroku”

Multiple Heroku Accounts on one machine

To have multiple accounts on Heroku is no fun. Specially not if you are a developer and you have to push multiple apps into multiple heroku accounts. The problem is that the heroku toolbelt authentification is based on ssh certificates. If you create your very first heroku app on your machine, heroku will take yourContinue reading “Multiple Heroku Accounts on one machine”

Cron Jobs on Heroku

Heroku is an App Engine for Ruby on Rails … and other Languages and Frameworks. Heroku is running your application and you don’t have to care about hardware or IT-Infrastructure. It is one abstraction layer above the Amazon Cloud EC2. First of all, there are no cron jobs on Heroku. Because it is an AppContinue reading “Cron Jobs on Heroku”