IDE for HTML5 Project configuration guidelines

Node.js(NPM)

  • Install: http://nodejs.org/download/

  • Validation:

    windows command shell or use sudo (for OSX, *nix, BSD etc)
    node --version
    npm --version
    

Grunt & Bower

  • Install:

    windows command shell or use sudo (for OSX, *nix, BSD etc)
    npm install grunt-cli bower -g
    
  • Validation:

    windows command shell or use sudo (for OSX, *nix, BSD etc)
    grunt --version
    bower --version
    

Livereload(optional)

Setup H5 Project

In the H5 Project directory
windows command shell or use sudo (for OSX, *nix, BSD etc)
bower install
npm install
grunt init    //Initialize this project
grunt         //watch and validation this project's source change
grunt server  //run server on brower( Chrome or Firfox )
grunt publish //publish and run this's project on brower( Chrome or Firfox )
2013-04-10 12:04