From 278d71cb2720770564b221102b47faa7581a7df8 Mon Sep 17 00:00:00 2001 From: James Brooks Date: Mon, 5 Jan 2015 21:43:43 +0000 Subject: [PATCH] Reorganise the install document --- docs/setup/install.md | 17 ++++++++++++----- 1 file changed, 12 insertions(+), 5 deletions(-) diff --git a/docs/setup/install.md b/docs/setup/install.md index 2f954154..80b9b352 100644 --- a/docs/setup/install.md +++ b/docs/setup/install.md @@ -34,7 +34,6 @@ The easiest way is to use Git to pull down the code. You'll need to put it into $ cd /var/www $ git clone https://github.com/cachethq/Cachet.git $ cd Cachet -$ composer install --no-dev -o ``` You will also need to build the assets. @@ -45,10 +44,6 @@ $ bower install $ gulp ``` -# Deploy to Heroku - -When using the **Deploy to Heroku** button you needn't worry about using a database as the install will setup a free instance of ClearDB. Once installed Heroku can direct you to the setup page where you'll configure the site/application information and create an administrator account. - # Configuring a database without Heroku Cachet relies on a database to store the components and incidents, however it needs to be configured for your [environment](https://github.com/cachethq/Cachet/blob/master/docs/setup/install.md#environment-detection). @@ -88,6 +83,18 @@ return [ > Even though SQLite doesn't require a host, username or password, these still must be set (an empty string will suffice). +# Install dependencies + +Now we need to install of the dependencies that Cachet requires: + +```bash +$ composer install --no-dev -o +``` + +# Deploy to Heroku + +When using the **Deploy to Heroku** button you needn't worry about using a database as the install will setup a free instance of ClearDB. Once installed Heroku can direct you to the setup page where you'll configure the site/application information and create an administrator account. + ### Running database migrations Once we've decided on our database, we now need to run the migrations to create the tables. In our command line we need to run the migrations, from within the root directory: