-
Start with Linux, as macOS has incompatibility issues
-
Install the Nix Package Manager
-
Load into your shell:
. /home/andrew/.nix-profile/etc/profile.d/nix.sh
-
Open
nix-shell
-
Run
edify_datadir=. edify build courses/javascript-intermediate.md
The generated PDF files will be in the build/courses
directory.
Helpful commands for transferring data to and fro for VM:
$ rsync -auv --exclude 'src/node_modules' --exclude 'sandbox/node_modules' ~/Projects/webdev webdev:/home/andrew/Projects
$ scp webdev:/home/andrew/Projects/webdev/build/courses/javascript-intermediate.slides.pdf slides
$ open slides/javascript-intermediate.slides.pdf