Skip to content

bsisa/hb-ui

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

hb-ui

HyperBird user interface

Building the distribution

Prerequisites tools

Prerequisite tools installation

Node.js installation

Please follow install instructions at http://nodejs.org/

Grunt installation

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

Bower installation

sudo npm install -g bower
Usage

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

Build procedure

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.