- Main branch contains the slides.
- Other branches contain the code evolution.
Changes on slides must be done on the main branch.
- Requirements
- git
- python3
- npm
- Clone the repo with the sub modules (reveal.js).
git clone --recurse-submodules https://github.com/uggla/async_rust_tui
cd async_rust_tui/reveal.js
npm install
cd..
Run staticjinja within the slides directory: uv tool run staticjinja build.
Note: uv tool run staticjinja watch can be run and it will rebuild the presentation as soon as it will detect a change in the templates folder.
Change the presentation .html file.
Warning, if staticjinja is used change the file into the templates directory not the one at the presentation root directory.
To serve the presentation locally, run:
./server.pyfrom the root of the project. Then, open your browser and navigate to http://localhost:8000.
The server.py script builds the presentation using staticjinja and serves it.
For live updates, use the --watch option:
./server.py --watchThis will rebuild the presentation automatically whenever changes are detected and continue serving it.