Skip to content

Latest commit

 

History

History
45 lines (31 loc) · 762 Bytes

procedures.md

File metadata and controls

45 lines (31 loc) · 762 Bytes

Operating procedures

Details the standard procedures on unix systems to run the project

Running the notebooks

poetry shell
set -x PYTHONPATH $PWD:$PWD/src/ ; jupyter notebook

In a memory restricted environment:

set -x PYTHONPATH $PWD:$PWD/src/
systemd-run --scope -p MemoryMax=10G --user jupyter notebook

Updating the book

set -x PYTHONPATH $PWD:$PWD/src/ ; jupyter-book build ct_book

or with limited memory:

systemd-run --scope -p MemoryMax=10G --user jupyter-book build ct_book

Publish the book

ghp-import -n -p -f _build/html

Publish the package

Only do it from main.

  • update version in pyproject.toml
  • update version in src/trace/__init__.py
poetry publish