HEDGEHOG theme the also as Bootstrap uses Grunt with convenient methods for working with the framework. It's how we compile our code. To use it, install the required dependencies as directed and then run some Grunt commands.
First of all required to install Node.js from http://nodejs.org
From the command line:
- Install
grunt-cli
globally withnpm install -g grunt-cli
. - Navigate to the root directory, then run
npm install
. npm will look at [package.json] and automatically install the necessary local dependencies listed there.
When completed, you'll be able to run the various Grunt commands provided from the command line.
####Build - grunt
Compilation and prepare distributive/documentation.
####Compile Less - grunt compile
Run grunt compile
to compile the Css from Less and put hedgehog.css and hedgehog.min.css to /dist/css
folder
This is a convenience method for watching just Less files and automatically building them whenever you save.
- Install Jekyll -
sudo gem install jekyll
- Run command from root of source folder
jekyll serve
. Make sure you rungrunt
command before. - Now browse to http://0.0.0.0:9001/
- bootstrap - contains latest version of Twitter Bootstrap 3 version