/we-bs

Essential components to start a static website using Bootstrap

Primary LanguageCSSApache License 2.0Apache-2.0

Web-Essentials-Bootstrap Build Status devDependency Status

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:

  1. Install grunt-cli globally with npm install -g grunt-cli.
  2. 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

Build and Assemble - grunt

Run tests locally, compile CSS and JavaScript, assemble templage pages into /dist

Build - grunt build

Run grunt to run tests locally and compile the CSS and JavaScript into /dist. Requires recess and uglify-js.

Tests - grunt test

Runs jshint and qunit tests headlessly in phantomjs (used for CI). Requires phantomjs.

Developing - grunt dev

This is a convenience method for watching files and automatically building them whenever you save.