If you just want to download the repo and read the book (not building it):
cd </path/to/where/you/want/the/repo> # call it /PATH/
git clone <repo>
In your web browser load file:///PATH/book/_build/html/intro.html
in the url field.
- Each L2 variable has its own GitHub repository, referenced from the CIMR-Algos organization.
- In the repo we have (at least) 3 directories:
book/
(for the book itself),algorithm
(for the software),data
(for static data). - Convention: the main branch is called
main
(notmaster
).git config --global init.defaultBranch main
. Here is why.
See https://docs.conda.io/en/latest/miniconda.html
conda create -c conda-forge --name JB python=3.8
conda activate JB
conda env list # check that JB is the current env
pip install --upgrade pip #(if needed several times)
pip install jupyter-book
conda install -c conda-forge matplotlib numpy
cd /path/to/local/repo/with/atbd/ # the root of the repo, with book/ algorithm/ data/ ...
jupyter-book build book/
jupyter-book build --all book/ #(force rebuild everything)
Edit the .md
files of the book
Build the book (see above)
git add / commit #possibly in two commits, first the changes to the `.md` files, then the modified `_html` files
git push