Skip to content
This repository has been archived by the owner on Jul 25, 2022. It is now read-only.

Installation

Kevin Cazelles edited this page Apr 12, 2019 · 7 revisions

Install Hugo

NB: if you do no intend to build the website locally, you can skip this part.

This website is built with Hugo, and thus requires its installation to build the website locally. The documentation about this is very clear and I (@KevCaz) strongly recommend the use of a package manager, e.g chocolatey on Windows, brew on MacOS, apt-get on Debian/Ubuntu, pacman on ArcLinux, etc.

Clone the repository

For command line interface (CLI) users

You can clone this repository as any other repository:

git clone https://github.com/McCannLab/McCannLab.github.io.git

But if you intend to rebuild the website locally then you need to include the submodules using the --recurse-submodules option:

git clone --recurse-submodules https://github.com/McCannLab/McCannLab.github.io.git

For GitKraken user

When you clone this repository with GitKraken, you will be aseked whether or not you want to initialize submodules. If you want to build the website, you must answer 'yes'. If it is the first time you've heard about submodules, you should better check out this section of GitKraken documentation out.

Notes

Sometimes, an update of the theme will be needed:

git submodule update --init --recursive