-
Create a new python environment.
python -m venv .venv source .venv/bin/activate
Important: Make sure that your .venv is not located inside your repo folder! Otherwise the build won't work.
-
Install required packages
pip install jupyter-book ghp-import
After making changes to the files, the jupyter book needs to be rebuild. From the repo's root directory, execute
jupyter-book build . --all
To deploy the current build, execute this from the repo's root directory
ghp-import -n -p -f -o _build/html