The Andersen lab dry-lab computing guide. The guide is built with mkdocs.
- Clone the repo
git clone https://github.com/AndersenLab/dry-guide.git
- Install
mkdocs>=1.5
andmike>=2.0
# first, you need python3 - make sure you have it, otherwise download
# if you don't have pip...
curl https://bootstrap.pypa.io/get-pip.py > get-pip.py
python3 get-pip.py
# download mkdocs
pip install "mkdocs>=1.5"
# download mike
pip install -Iv "mike>=2.0"
- When edits are complete, use
mike deploy
.
If you are making minor changes, use the same version:
mike deploy [current date version] latest --update-aliases --ignore-remote-status --push
The word latest
here is an alias which will ensure that the new version is served.
If you have made substantial changes to the site, like adding new sections or removing or rewriting sections, create a new version with the current date.
mike deploy [today's date] latest --update-aliases --ignore-remote-status --push