From c887ac0a61b457fea3f57df382a8656d991c4452 Mon Sep 17 00:00:00 2001 From: dzink Date: Mon, 1 May 2017 23:45:38 -0400 Subject: [PATCH] Updating documentation on running gulp. There are a few additional troubleshooting tasks I used to get gulp running on my local machine, which I have documented here. --- docs/compiling-css-with-gulp.md | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/docs/compiling-css-with-gulp.md b/docs/compiling-css-with-gulp.md index 689e7e0..e9b2693 100644 --- a/docs/compiling-css-with-gulp.md +++ b/docs/compiling-css-with-gulp.md @@ -4,10 +4,11 @@ Bear Skin ships with a Gulp setup to preprocess our sass/css code. See https://w ## Getting Started To start building CSS, you first have to install all the gulp dependencies. -1. Install [node.js](https://nodejs.org/en/). +1. Install [node.js](https://nodejs.org/en/). You will want at least version 4.5.0 (run `npm -v` to determine your version). To upgrade, run `sudo npm install -g npm`. 2. After changing to the project directory in your terminal, run `npm install`. If you run into errors: - Make sure your local paths are right: `npm config set prefix /usr/local` - Reinstall gulp: `sudo npm install gulp -g` + - On OS X, one of the node modules requires XCode. Install that from the App Store. 3. After the process finishes, you'll be able to run all the gulp tasks listed below. Make sure to enable the `bear_skin` sub theme to have access to panel templates, or duplicate the `panel-layouts` folder in the `bear_coat` root folder.