Skip to content

cloudfour/generator-core-patternlib

Repository files navigation

Installation

  1. Clone this repository; cd into it.
  2. 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
  1. Run npm install -g yo if you don't already have yo.
  2. Run npm install.
  3. Run npm link to symlink this as a global Node package.

Usage

  1. Create a new project directory; cd into it.
  2. Create a .node-version file here too if necessary.
  3. Run yo cloudfour-core-patternlib and follow the prompts.
  4. Run npm build to build and view locally.
  5. Run npm start to build, view locally, and enable file watching for automatic rebuilds.
  6. Run gulp --tasks to print out a tree of available tasks.