https://github.com/uggla/bevy_university
https://github.com/uggla/bevy_university
Last synced: 9 days ago
JSON representation
- Host: GitHub
- URL: https://github.com/uggla/bevy_university
- Owner: uggla
- License: apache-2.0
- Created: 2024-11-15T18:32:38.000Z (8 months ago)
- Default Branch: main
- Last Pushed: 2025-01-22T12:50:38.000Z (6 months ago)
- Last Synced: 2025-03-05T19:48:23.705Z (4 months ago)
- Language: HTML
- Size: 28.5 MB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# My presentations using reveal.js
## Organization
- Main branch contains the slides.
- Other branches contain the code evolution.**Changes on slides must be done on the main branch.**
## Get and build presentations
1. Requirements
- git
- python3
- npm2. Clone the repo with the sub modules (reveal.js).
```
git clone --recurse-submodules https://github.com/uggla/bevy_university
cd bevy_university/reveal.js
npm install
cd..
```## Build the presentation with staticjinja (optional)
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.
## Modify a presentation
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.
## Serve presentations
To serve the presentation locally, run:
```bash
./server.py
```from the root of the project. Then, open your browser and navigate to [http://localhost:8000](http://localhost:8000).
The `server.py` script builds the presentation using **staticjinja** and serves it.
For live updates, use the `--watch` option:
```bash
./server.py --watch
```This will rebuild the presentation automatically whenever changes are detected and continue serving it.