Skip to content

Latest commit

 

History

History
45 lines (28 loc) · 1.13 KB

README.md

File metadata and controls

45 lines (28 loc) · 1.13 KB

The Andersen lab dry-lab computing guide. The guide is built with mkdocs.

Editing the site

  1. Clone the repo
git clone https://github.com/AndersenLab/dry-guide.git
  1. Install mkdocs>=1.5 and mike>=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"

  1. 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