Essential components to start a static website using Bootstrap
Quick Start
This templage uses Grunt with convenient methods for working with the framework. It's how we compile our code, run tests, and more. To use it, install the required dependencies as directed and then run some Grunt commands.
Install Grunt
From the command line:
- Install
grunt-cli
globally withnpm install -g grunt-cli
. - Install the necessary local dependencies via
npm install
When completed, you'll be able to run the various Grunt commands provided from the command line.
Unfamiliar with npm
? Don't have node installed? That's a-okay. npm stands for node packaged modules and is a way to manage development dependencies through node.js. Download and install node.js before proceeding.
Available Grunt commands
grunt
Build and Assemble - Run tests locally, compile CSS and JavaScript, assemble templage pages into /dist
grunt build
Build - Run grunt
to run tests locally and compile the CSS and JavaScript into /dist
. Requires recess and uglify-js.
grunt test
Tests - Runs jshint and qunit tests headlessly in phantomjs (used for CI). Requires phantomjs.
grunt dev
Developing - This is a convenience method for watching files and automatically building them whenever you save.