From 404ef5f187e88ebbcad0f07e803794f464af0305 Mon Sep 17 00:00:00 2001 From: candideu <55474996+candideu@users.noreply.github.com> Date: Thu, 25 Nov 2021 12:07:47 -0500 Subject: [PATCH] Updating Heroku Upgrade Instructions I have the Heroku CLI installed, but the instructions here didn't work. I received the error: ! Login failed with: Cannot find docker, please ensure docker is installed. ! If you need help installing docker, visit https://docs.docker.com/install/#supported-platforms I've used Heroku to deploy another app (Listmonk) and used this method to upgrade, so I wanted to share this method here, especially since Nocodb releases upgrades frequently. --- .../content/en/getting-started/upgrading.md | 18 +++++++++++++++++- 1 file changed, 17 insertions(+), 1 deletion(-) diff --git a/packages/noco-docs/content/en/getting-started/upgrading.md b/packages/noco-docs/content/en/getting-started/upgrading.md index 2276652590..22a40931a1 100644 --- a/packages/noco-docs/content/en/getting-started/upgrading.md +++ b/packages/noco-docs/content/en/getting-started/upgrading.md @@ -57,7 +57,7 @@ npm install --save nocodb ## Heroku -Use Heroku CLI login +### Using the Heroku CLI login ``` heroku container:login @@ -67,4 +67,20 @@ docker push registry.heroku.com//web heroku container:release -a web ``` +### Using GitHub +Fork the [nocodb-seed-heroku repository](https://github.com/nocodb/nocodb-seed-heroku) to your GitHub account. +Login to Heroku, go to your NocoDB app, and head to the "Deploy" tab. +Select "GitHub" in the "Deployment method" section. + +In the "Connect to GitHub" section, search for your forked nocodb-seed-heroku repo. Connect to it: + +![image](https://user-images.githubusercontent.com/55474996/143479577-e8bdc1f0-99d1-4072-8d95-4879cc54ddb2.png) + +In the "Automatic deploys" section, select "Enable Automatic Deploys": + +![image](https://user-images.githubusercontent.com/55474996/143479705-b5280199-aa31-40db-a5aa-7586eb918c01.png) + +Head back to your forked nocodb-seed-heroku repo on your GitHub account. Edit one of your files and make a simple modification (example, add some random characters to the readme.md) and commit the change directly to the main branch. + +This will trigger the Heroku deployment. Your app should now be updated to the latest release of NocoDB.