HyperBird user interface
- Grunt - JavaScript Task Runner - http://gruntjs.com/
- Bower - Package manager for the web by Twitter - http://bower.io/
- Both of which relies on Node.js - http://nodejs.org/
Please follow install instructions at http://nodejs.org/
Example installation procedure tested on Ubuntu Linux 12.04, for other environment please refer to install instructions provided on the tools web sites. Note the -g or --global option causes npm to install the package globally rather than locally.
sudo npm install -g grunt
sudo npm install -g grunt-cli
Additional project dependencies require installing further grunt plugins in local:
npm install grunt-contrib-concat
npm install grunt-contrib-uglify
npm install grunt-contrib-cssmin
npm install grunt-html2js
npm install grunt-karma
npm install grunt-contrib-pug
sudo npm install -g bower
Go to /hb-ui/main/ directory where bower.json file is located and type:
bower install
This will deploy what is specified in bower.json
Go to /hb-ui/main/ directory where Gruntfile.js file is located and type:
grunt
This should output something like:
Running "concat:dist" (concat) task
File "dist/hb5-0.1.0.js" created.
Running "uglify:build" (uglify) task
File dist/hb5-0.1.0.min.js created.
Running "cssmin:combine" (cssmin) task
File dist/hb5-0.1.0.css created.
Running "cssmin:minify" (cssmin) task
File dist/hb5-0.min.css created.
Done, without errors.