-
Install Nix:
sh <(curl -L https://nixos.org/nix/install) --daemon -
Configure Nix. Edit
/etc/nix/nix.conf(for a multi-user installation) or~/.config/nix/nix.conf(for a single-user installation) to include the following lines:experimental-features = nix-command flakes trusted-users = root <USER>
Replace
<USER>with your username on your computer. -
Install direnv:
sudo apt install direnv
-
Enable direnv in your shell by adding a line to your shell configuration file.
For Bash, edit
~/.bashrc:eval "$(direnv hook bash)"
-
Allow
.envrc:direnv allow
Run locally with LiveReload:
gulp livereloadBuild for production:
npm run buildDeploy to GitHub Pages:
npm run deployCopyright (c) 2018 Hein Bekker. Licensed under the GNU Affero General Public License, version 3.