Based on the Eleventy Base Blog
To build locally, install Nix and then run:
-
nix-build
to run default.nix and output the site to your Nix store -
nix-shell
to run shell.nix and get a shell where you can runserve
to host the site on localhost, oryarn
commands to mix up the packages. Remember to copy the contents of the modifiedpackage.json
tonode-deps.nix
after you runyarn
commands!