This page describes design elements for the opendc-mini course.
Offical Website Asciinema Player GitHub Repo
Asciinema
is used to show command line usage.
Before recording a console session, minimise the prompt size with the following command.
$ export PS1="\\\$ "
When recording a console session make sure that there are no pauses longer than 1.5 seconds.
asciinema rec -w 1.5 ~/Sites/OpenDatacentre/opendc-mini/docs/asciinema/command_aliases.json
To play back a recorded console session.
asciinema play ~/Sites/OpenDatacentre/opendc-mini/docs/asciinema/kubectx_kubens.json
To serve the Gitbook site for testing on the local network, as opposed to the localhost which is used by gitbook serve
, use the built-in Python HTTP server.
$ cd opendc-mini
$ python -mSimpleHTTPServer