If you haven't already installed nodejs, grunt-cli and bower then go do that first.
Next, install all the dependency packages and start the app:
> npm install
> bower install
> grunt
You can now view the example project running at http://localhost:9000/
If you need to use any additional libraries such as D3 or jquery then use:
bower install d3 --save
That will update the bower.json
dependency file and allow requirejs to bundle
the library into the main js.
You can then require the library directly into your code via the define function:
define(['d3', function(d3) {
var chart = d3.box();
});