Create a custom Bootstrap 3.1.1 build with jQuery and Parsley.
- Install Node.js
- Install Grunt
$ npm install -g grunt
- Install Bower
$ npm install -g bower
- Clone repository
$ git clone
$ cd custom-bootstrap-build
- Install bower dependencies
$ bower install
- Install nodejs dependencies
$ npm install
- Pictures in /images
- Less and CSS in /less
- Fonts in /fonts
- Build in /dist
$ grunt
creates the /dist directory with compiled files.$ grunt watch
this is a convenience method for watching just Less files and automatically building them whenever you save.
$ grunt connect:serve
for local testing http://localhost:9001/$ grunt test
build and runs JSHint and CSSHint to check files$ grunt cleanjs
runs JSHint and CSSHint to modify files$ grunt perf
run phantomas to check front-end performance