/hackathon

Primary LanguageCSSMIT LicenseMIT

Bootstrap boilerplate for Harp

Allows you to generate a Bootstrap enabled website in seconds using Harp:

  • Includes documentation
  • Offers theme support that doesn't interfere with Bootstrap updates
  • Allows you to easily customize Bootstrap for each individual theme
  • Uses Bower to install Bootstrap (and automate updates)
  • Supports hosting in a subdirectory using a baseUrl variable
  • Prevents CSS bloat by allowing you to only include the Bootstrap components that you really need
  • Includes a showcase page that allows you to conveniently see what the Bootstrap components look like while your are customizing your Bootstrap styles

Demo

A clean installation of the boilerplate looks like this: http://jvandemo.github.io/hb-bootstrap/

Installation

First make sure you have Harp and Bower installed:

$ sudo npm install -g harp
$ sudo npm install -g bower

Then initialize the boilerplate:

$ harp init -b jvandemo/hb-bootstrap myproject

Change the directory to the new myproject directory:

$ cd myproject

Download Bootstrap using bower:

$ bower install

Start the harp server from your project directory:

$ harp server

And navigate to http://localhost:9000 in your browser:

Documentation

The documentation is included in the boilerplate for your convenience (at the same time it demonstrates how you can easily create new layouts in your website):

Showcase page

The boilerplate includes a showcase page to easily see what the Bootstrap components look like while your are customizing your Bootstrap styles:

Changelog

v0.4.0

  • Added support for baseUrl

v0.3.0

  • Added documentation as part of boilerplate
  • Update README.md

v0.2.0

  • Added support for customizing Bootstrap
  • Added two sample themes: default and flat

v0.1.0

  • Initial boilerplate