This is all the code behind my blog.
It uses Jekyll static site generator, and is hosted as a Heroku app.
First you'll need to have Ruby, Bundler, Rake and Foreman installed.
Then you can build and run the site as follows:
# Install dependencies - you only need to do this once
$ bundle install
# Build the static site - do this every time something changes
$ rake
# Run the server
$ foreman start
Now browse to localhost:5000.