A simple boilerplate to start off prototyping. Built with HTML5 Boilerplate, Normalize, Twitter Bootstrap, Assemble, and Grunt.
-
Install NodeJS.
-
Run
npm install
at the root project folder.This will read the package.json file and pull in all required node modules and put into a directory called node_modules.
-
Use
npm
to build:npm run build
will create a debug/test version of the sitenpm run production
will create a production version of the site (i.e. JavaScript and CSS concatenated and minified)npm start
will create the debug/test version of the site, then create a simple testing servernpm run bower
will download the latest front end packages to the bower_components folder and copy them into the corresponding vendor folders. This will overwrite any changes.npm run deploy
will deploy the production version to the gh-pages branch.