jekyll-barebone

jekyll-barebone

Jekyll-barebone is a simple scaffold I created for my personal pages. It is powered with Jekyll, Grunt, Bower and is heavily inspired with Yeoman generator jekyllrb.

Jekyll-barebone

Jekyll-barebone is a simple scaffold I created for my personal pages. It is powered with Jekyll, Grunt, Bower and is heavily inspired with Yeoman generator jekyllrb.

Warning : This is an opinionated setup and you might need to modify according to your changes.

I will discuss more of the setup on this documentation.

Installation

The Git Way

$ git clone https://github.com/vsbarba/jekyll-barebone.git

The Basics

Initially you might want to install all the bower components in bower.json also check .bowerrc for directory

$ bower install

and then install node packages in package.json

$ npm install

After that make sure that you have grunt and grunt-cli installed. If you are new to grunt I suggest you visit [Grunt.JS][grunt-url]

$ npm install grunt -g // to install globally
$ npm install grunt-cli -g 

Running the App

After the basic installation part, you can now do the following to use the Gruntfile.js. Basically, you might want to do them in order if you want. The following copies the bootstrap-less, and some assets like (jquery, modernizr) to app/assets/{less, js or css}

Bootstrap Less

$ grunt copy-bootstrap

Update the basic libraries

$ grunt update-assets

Serve the App using Jekyll

This will run the app in http://localhost:4000 although you can change the configuration for host and port if you want. We'll be providing that in the Grunfile.js

$ grunt serve