Setting Up Jekyll Test System (Serving github pages locally)Last Edit: 21 Feb 2020 | Web Dev
Following the instructions on github help plus some missing details.
clone site (in my case):
git clone https://github.com/openafox/openafox.github.io.git
cd into the directory.
Now we need to install the goods.
First we need to install ruby:
sudo apt-get install ruby-full build-essential
Then check the version:
Then install Bundler to help reduce build errors:
gem install bundler
I did not set my original site up with a gem file so I had to create one (skip if you have a gem file):
add github-pages gem to the newly created gemfile:
gem 'github-pages', group: :jekyll_plugins
Install the gems:
Check the github-pages gem install:
bundle update github-pages
bundle exec jekyll serve