Setting up your GitHub Pages site locally with Jekyll
-
Check whether you have Ruby 2.1.0 or higher installed
ruby --version
-
Install Bundler
gem install bundler
-
Install Jekyll using Bundler
bundle install
-
Run your Jekyll site locally
bundle exec jekyll serve