# get template
git clone https://github.com/mmistakes/minimal-mistakes African-Robotics-Unit.github.io/ --depth=1
cd African-Robotics-Unit.github.io/
# remove all the minimal-mistakes git history and other nonsense
rm -rf .git docs/ test/ CHANGELOG.md README.md screenshot.png screenshot-layouts.png
# set up git repo
echo """.jekyll-cache/
_site/
.vscode/
""" > .gitignore
git init
# update site configuration/metadata (_config.yml)
# remove stuff from _data/navigation.yml
# (optional) install ruby and run site locally
sudo apt install ruby-full
bundle install
bundle exec jekyll serve
# add `--drafts` to preview posts in the `_drafts`
# folder, as if they were published.
# add `--incremental` to not make the entire website
# from scratch each time, which is useful if you
# habitually hit save every two seconds while writing a post.
# Can be a little buggy sometimes
# add `--livereload` to avoid having to refresh
# the website each time. Super useful!
# changes in the `_config.yml` file require you
# to restart jekyll completely, unfortunately
# in any case, head to the printed server address (should
# be http://127.0.0.1:4000) and check it out
# then, add pages!