About Yeoman and generator angular
Yeoman is a nodeJS-based commandline tool for quickly scaffolding out webapps. We use its angularJS generator, generator-angular
, to build, test and optimise axisJS. You don't need yo
or generator-angular
installed to use, build or test axisJS, however, they're both very useful to have if you plan to contribute new directives, services or tests to axisJS.
Additionally, bower
is used for client-side package management (the entire axisJS project can be added as a dependency via bower install axisjs --save
), and grunt
is used as the task runner.
While there are a multitude of ways to install nodeJS, the easiest is via the packages on nodejs.org.
Another good method on OS X is via Homebrew.
Once you have node
and npm
installed, continue to the next part.
At the CLI, type the following:
$ npm install -g yo generator-angular bower grunt-cli karma
If you get permissions errors, try adding sudo
to the beginning of the above.