Skip to content


Repository files navigation

My static website generated with Jekyll.


Install tools:

$ npm install -g grunt-cli
$ npm install -g bower
$ gem install bundle

Install dependencies:

$ npm install
$ bower install
$ bundle install

Build the site and watch for changes:

$ grunt -v


Deploy to Github Pages:

$ rake deploy

Repository setup

Rename local master to source:

$ git branch -m master source

Push source to remote:

$ git push -u origin source

Delete remote master:

$ git push origin :master

Create new local master (empty):

$ git checkout --orphan master
$ git rm --cached -r .
$ echo 'Coming soon' > index.html
$ git add index.html
$ git commit -m "init"

Push master to remote:

$ git push -u origin master

Checkout master in _site subdirectory:

$ git clone -b master _site