Goodbye Pelican, Hello Jekyll

simpler and simpler

It was nice to use Pelican as a way to learn Python, but Jekyll is simply more integrated into GitHub Pages.

Ruby

First, install a ruby environment.

\curl -sSL https://get.rvm.io | bash -s stable --ruby
rvm install 2.2

Begin using the environment.

rvm use 2.2

Install Bundler.

ruby install bundler

Jekyll

Setup the project.

cd ~/Documents/Developer/
jekyll new michaelreneer.github.io
cd ~/Documents/Developer/michaelreneer.github.io

Create repository called Gemfile containing the following…

source 'https://rubygems.org'
gem 'github-pages'

Install repository.

bundle install

Run Jekyll.

bundle exec jekyll serve

GitHub

Locally, you will be able to view your site, but there is no need to push the generated files to github. Github will generate the site for you if you push the source to the master branch.