This repository contains presentations from previous Dasharo User Group meetings and scripts related to the creation of content in those presentations.
Historically we used remarkjs with our own remark-templates, but since DUG#7 we switched to slidev.
- Initialize submodules:
git submodule update --init --checkout- Render slides
./slidev-template/scripts/render-slides.sh [slides_file]Example:
./slidev-template/scripts/render-slides.sh pages/dug_10/x-dasharo-dbx-uc-ci.md- Open content in browser on http://127.0.0.1:8000
- Export the desired presentation:
./slidev-template/scripts/ci/gen_slides.sh pages/dug_10/dug10.metadataPDFs will be in slidev-template/output.
-
Install the
slidev-templatesubmodule:git submodule update --init --remote slidev-template -
Go to the submodule directory:
cd slidev-template
-
Start the desired presentation:
./scripts/local-preview.sh pages/dug_7/1-greetings-agenda.md -
Open content in browser on http://127.0.0.1:8000
- Export the desired presentation:
./scripts/generate-pdf.sh ../pages/ram-wipe.md
-
Clone repository
-
Initialize submodules
git submodule update --init --recursive --checkout
-
Run local HTTP server e.g.
python -m http.server
-
Open content in browser on http://0.0.0.0:8000
There is a hard limit for the number of files observed by processes using inotify in linux. Slidev uses it to monitor for changes and update the render. If the amount of files in this repository becomes too big, or if there are other programs that tend to monitor file changes, (like IDEs) opened, the limit might get reached and slidev will crash.
Read the current limit:
cat /proc/sys/fs/inotify/max_user_watchesSet a new limit:
echo fs.inotify.max_user_watches=524288 | sudo tee -a /etc/sysctl.conf && sudo sysctl -pWarning: it can lead to more files being observed resulting in more system resources (RAM&CPU) being used.
-
Please feel free to create issues for improvement ideas and bugs, as well as pull requests to fix any issues.
-
Releases will occur quarterly, aligned with the DUG and vPubs schedule.
-
If you intend to provide code improvements, please install all dependencies by running:
pip install -r requirements.txt
-
Before pushing code for review, ensure that
pre-commit run --all-filesdoes not return any issues.