- Clone this repository;
cd
into it. - Make sure you're running Node
0.12
or higher. If you have multiple versions installed, you can create a.node-version
file in your working directory to force the version in use:
echo "0.12" > .node-version
- Run
npm install -g yo
if you don't already haveyo
. - Run
npm install
. - Run
npm link
to symlink this as a global Node package.
- Create a new project directory;
cd
into it. - Create a
.node-version
file here too if necessary. - Run
yo cloudfour-core-patternlib
and follow the prompts. - Run
npm build
to build and view locally. - Run
npm start
to build, view locally, and enable file watching for automatic rebuilds. - Run
gulp --tasks
to print out a tree of available tasks.