From 8b9d350d443701aebc85115f8c321bf994479d79 Mon Sep 17 00:00:00 2001 From: Sam Date: Tue, 6 Jan 2015 13:57:17 +1100 Subject: [PATCH 1/3] Add composer to requirements --- README.md | 1 + 1 file changed, 1 insertion(+) diff --git a/README.md b/README.md index 8a0688d9..c500df62 100644 --- a/README.md +++ b/README.md @@ -28,6 +28,7 @@ For more information on why I started developing Cachet, check out my [blog post - Node.js + Bower + Gulp +- Composer - mcrypt extension ## Installation From 7f52a49f4189f682d858b5253dd2193340dd1a3d Mon Sep 17 00:00:00 2001 From: Sam Date: Tue, 6 Jan 2015 14:24:14 +1100 Subject: [PATCH 2/3] Add steps to install js requirements JS requirements are a pain, so I've added the steps required to install them. This may help people wanting to try it out before packages are available. --- docs/setup/install.md | 13 ++++++++++++- 1 file changed, 12 insertions(+), 1 deletion(-) diff --git a/docs/setup/install.md b/docs/setup/install.md index 80b9b352..fb78dcda 100644 --- a/docs/setup/install.md +++ b/docs/setup/install.md @@ -36,7 +36,18 @@ $ git clone https://github.com/cachethq/Cachet.git $ cd Cachet ``` -You will also need to build the assets. +## Install requirements + +You need to have a modern version of node.js installed (with NPM) - see https://github.com/nodesource/distributions +```bash +apt-get install nodejs +npm install bower +npm install gulp +curl -sS https://getcomposer.org/installer | php #always be careful when piping from the internet! +``` + + +## Build the assets. ```bash $ npm install From dc830bfa5c63e574ae57aad948f1fd6a1a39d6c5 Mon Sep 17 00:00:00 2001 From: Sam Date: Tue, 6 Jan 2015 21:15:17 +1100 Subject: [PATCH 3/3] add -g to npm install options --- docs/setup/install.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/docs/setup/install.md b/docs/setup/install.md index fb78dcda..0c4c6296 100644 --- a/docs/setup/install.md +++ b/docs/setup/install.md @@ -41,8 +41,8 @@ $ cd Cachet You need to have a modern version of node.js installed (with NPM) - see https://github.com/nodesource/distributions ```bash apt-get install nodejs -npm install bower -npm install gulp +npm install -g bower +npm install -g gulp curl -sS https://getcomposer.org/installer | php #always be careful when piping from the internet! ```