Skip to content

Updating your heroku installation

Ed Tewiah edited this page Feb 7, 2018 · 1 revision

First of all you will need to connect your heroku application to a github repo to update from. Start by forking this (https://github.com/etewiah/pwb-for-heroku) repo. From the heroku dashboard (https://dashboard.heroku.com/apps) select your app and go to the "deploy" tab. There you will be able to connect your application to the repo you just created.

Each time you need to update your heroku application just go to the deploy page and hit the "Deploy Branch" button.

Whenever you update your heroku application it is always a good idea to run the database migration in case there are some changes to the db. You can do this by clicking the "more" button on the heroku dashboard (it is in the top righthand corner) and select "Run console". In the form that appears enter "rails db:migrate" and hit run.