-
Notifications
You must be signed in to change notification settings - Fork 254
Update Heroku app to latest version using Gitpod
If you want to use 3-4-5 piece tablebases, you have to enable container build. If not, skip this section.
https://devcenter.heroku.com/articles/heroku-cli#download-and-install
Open a console ( terminal / command prompt ) window ( if you don't know how to do this on your system, find your way based on a search like this https://www.google.com/search?q=open+terminal+command+prompt+window ).
Open a browser window with your app's Heroku login. This should be the active window when you do the following.
In the console type
heroku login
In the browser popup enable login.
When you are logged into Heroku CLI, in the console type ( change "yourappname" to the actual name of your app )
heroku stack:set container --app yourappname
Visit your forked repo, then press the Gitpod button..
If you don't have the Gitpod button, prefix the link of the forked repo with https://gitpod.io/#
and visit the resulting link.
In the top right corner click on your account login and from the menu select Open Access Control. Enable "write public repos".
Use the terminal to type in commands:
In the Gitpod terminal type:
git checkout master
In the Gitpod terminal type:
git fetch upstream master
git reset --hard upstream/master
In the Gitpod terminal type:
git push --force
If you enabled automatic deploys on Heroku, this will update your app to the latest version. If not, open your app's Heroku dashboard and press Deploy Branch in the Deploy tab.