We follow the Jekyll documentation to build this blog on an Ubuntu machine using the default minima theme.

Install Ruby dependencies

sudo apt update
sudo apt install -y ruby-full build-essential zlib1g-dev
echo '# Install Ruby Gems to ~/gems' >> ~/.bashrc
echo 'export GEM_HOME="$HOME/gems"' >> ~/.bashrc
echo 'export PATH="$HOME/gems/bin:$PATH"' >> ~/.bashrc
source ~/.bashrc

Install Jekyll and Bundler

gem install jekyll bundler

Install blog dependencies

bundle install

Run the local server

bundle exec jekyll serve --livereload