Skip to content

simply-logical/problog-book-template

Repository files navigation

Licence Online

Interactive ProbLog Book Example

This repository holds a Jupyter Book template for building interactive ProbLog books. The built book is hosted on GitHub Pages and is available under http://problog-template.simply-logical.space. This webpage describes the process of building interactive ProbLog content with the aforementioned technology stack.

Building the Book

  1. Pull the book repository
    git clone https://github.com/simply-logical/problog-book-template.git
    
    cd problog-book-template
  2. Install Jupyter Book (requirements-jb.txt) and execution requirements (requirements.txt)
    pip install -r requirements-jb.txt
    pip install -r requirements.txt
  3. Build the book
    jb build .
  4. Build the slides
    ./build_slides.sh
  5. Open the html build
    open _build/html/index.html
    or run it as a server
    python -m http.server --directory _build/html
    open http://localhost:8000