Basic things when you deploy your rails app in Heroku

It happens sooo many times that I deploy a new version in Heroku

 

$ git push heroku-staging staging:master

and the app is not running.

check list:

1. Migrations

$ heroku run rake db:migrate --app myappname

2. And restart the app!

$ heroku restart --app myappname

3. If there are changes in /lib

Same thing, restart the app!

Advertisements

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s