Welcome to pism-tutorials using Jupyter Book.
Get pism-tutorials source from GitHub:
$ git clone git@github.com:pism/pism-tutorials.git
$ cd pism-tutorials
Optionally create Conda environment named pism-tutorials:
$ conda env create -f environment.yml
$ conda activate pism-tutorials
or using Mamba instead:
$ mamba env create -f environment.yml
$ mamba activate pism-tutorials
Install pism-tutorials:
$ pip install .
Note that this will install PISM using the conda
-channel pism
, currently only available for osx-arm64 and linux architectures.
Run the following command in your terminal:
jb build .
If you would like to work with a clean build, you can empty the build folder by running:
jb clean .
If jupyter execution is cached, this command will not delete the cached folder.
To remove the build folder (including cached
executables), you can run:
jb clean --all .