Sensei is meant to be a replacement of zenika-formation-framework, using a simpler and newer stack. It's not up-to-par in terms of features, but it's ready for test drives.
-
Pull the image with
docker image pull zenika/sensei
-
Create an alias
sensei
alias sensei='docker container run \ --pull always \ --interactive \ --tty \ --rm \ --volume $(pwd):/$(basename $(pwd)) \ --workdir /$(basename $(pwd)) \ --publish ${SENSEI_PORT:-8080}:${SENSEI_PORT:-8080} \ --env SENSEI_PORT \ --cap-add=SYS_ADMIN \ zenika/sensei'
โ When running sensei inside a Docker container, the
--material
is limited to descendants of the working directory.
โ If you expect to use this alias within Git Bash for Windows, you might need to set
MSYS_NO_PATHCONV
to1
to disable path conversion on the volume paths. This avoids theC:/Program Files/Git/...: no such file or directory
type of errors.
- Clone this repo and
cd
into the created folder - Build the image with
sh build.sh
- Create the same alias as for the published Docker image but without the
--pull always
โ When running sensei inside a Docker container, the
--material
is limited to descendants of the working directory.
- Install with
npm install --global https://github.com/Zenika/sensei
Run sensei --help
for available commands and options.
cd
into a training material folder (must haveSlides/slides.json
andWorkbook/parts.json
)- Run
sensei pdf
- PDFs are generated inside
pdf
folder
width
and height
values present in src/slides/slides.js file must match the values of the --size
parameter in the slides
npm script
cd
into a training material folder (must haveSlides/slides.json
andWorkbook/parts.json
)- Run
sensei serve
- Navigate to
http://localhost:8080/
The following plugins are enabled:
- Markdown
- Highlight
- Zoom
- Notes
- Math
Refer to Reveal's documentation for usage.