From fd79d99727a02476785d0cc975938855bb3c18cf Mon Sep 17 00:00:00 2001 From: James Brooks Date: Sat, 3 Jan 2015 15:52:59 +0000 Subject: [PATCH 1/4] Move install document to the setup docs --- INSTALL.md => docs/setup/INSTALL.md | 0 1 file changed, 0 insertions(+), 0 deletions(-) rename INSTALL.md => docs/setup/INSTALL.md (100%) diff --git a/INSTALL.md b/docs/setup/INSTALL.md similarity index 100% rename from INSTALL.md rename to docs/setup/INSTALL.md From 2677f7c620c631d01bcea86330247734c7bba8e1 Mon Sep 17 00:00:00 2001 From: James Brooks Date: Sat, 3 Jan 2015 15:53:53 +0000 Subject: [PATCH 2/4] Re-link install document --- README.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index 32225cc4..8a0688d9 100644 --- a/README.md +++ b/README.md @@ -32,9 +32,9 @@ For more information on why I started developing Cachet, check out my [blog post ## Installation -See the [INSTALL.md](/INSTALL.md) document for more information. If you'd like to add more documentation, please create a Pull Request, I'd be happy to merge! +See the [INSTALL.md](/docs/setup/install.md) document for more information. If you'd like to add more documentation, please create a Pull Request, I'd be happy to merge! -[Deploying to Heroku](/INSTALL.md#deploy-to-heroku) requires one-click to get started and no knowledge of PHP or Laravel afterwards. +[Deploying to Heroku](/docs/setup/install.md#deploy-to-heroku) requires one-click to get started and no knowledge of PHP or Laravel afterwards. ## Translations From e26db01abff2f3786145bfda7ce26c64760208cf Mon Sep 17 00:00:00 2001 From: James Brooks Date: Sat, 3 Jan 2015 15:54:07 +0000 Subject: [PATCH 3/4] Link install in docs --- docs/readme.md | 1 + 1 file changed, 1 insertion(+) diff --git a/docs/readme.md b/docs/readme.md index c6adb240..8000aec9 100644 --- a/docs/readme.md +++ b/docs/readme.md @@ -11,6 +11,7 @@ Cachet is an open source alternative to StatusPage.io written in PHP 5 with the ### Setup - [Setting up Cachet](/docs/setup/readme.md) +- [Install](/docs/setup/install.md) ### Dashboard From b688c71ed375dd842942e6a1327e233e49663412 Mon Sep 17 00:00:00 2001 From: James Brooks Date: Sat, 3 Jan 2015 16:00:30 +0000 Subject: [PATCH 4/4] Finish Heroku upgrade docs --- docs/heroku/readme.md | 3 +++ docs/heroku/upgrade.md | 53 ++++++++++++++++++++++++++++++++++++++++++ 2 files changed, 56 insertions(+) create mode 100644 docs/heroku/readme.md create mode 100644 docs/heroku/upgrade.md diff --git a/docs/heroku/readme.md b/docs/heroku/readme.md new file mode 100644 index 00000000..50a64f67 --- /dev/null +++ b/docs/heroku/readme.md @@ -0,0 +1,3 @@ +# Heroku + +- [Upgrade Heroku](/docs/heroku/upgrade.md) diff --git a/docs/heroku/upgrade.md b/docs/heroku/upgrade.md new file mode 100644 index 00000000..003c424a --- /dev/null +++ b/docs/heroku/upgrade.md @@ -0,0 +1,53 @@ +# Upgrade Cachet on Heroku + +To begin, you'll need the [Heroku Toolbelt](https://toolbelt.heroku.com/) on your system. + +## Login to Heroku + +Run the following command to login to your Heroku account. You'll need to provide your email and password. + +```bash +$ heroku login +``` + +## Clone your app + +Now clone your app to somewhere on your system, for this example we'll use the desktop and `cachet` as our app name. + +```bash +$ cd ~/Desktop +$ heroku git:clone -a cachet +``` + +The toolbelt will now use Git to clone your app locally. + +## Add a new remote + +Once cloned we'll want to change into the app directory. + +```bash +$ cd cachet +``` + +We can now add a new remote - the Cachet source to the repository. + +```bash +$ git remote add origin git@github.com:cachethq/cachet.git +``` + +Now we update our app with the latest version. + +```bash +$ git fetch origin +$ git reset --hard origin/master +``` + +## Push the changes + +Our app will now be running the latest version of Cachet, we just need to push it back to Heroku. + +```bash +$ git push heroku +``` + +We're done!