add note on using direnv

This commit is contained in:
Valentin Gagarin 2024-11-13 15:24:41 +01:00
parent dcb6afa492
commit 39443ead2a

View file

@ -15,6 +15,11 @@ Structured content is managed through Nix expressions, and copy is written in [C
- [Install Nix](https://nix.dev/install-nix) - [Install Nix](https://nix.dev/install-nix)
- [Set up `direnv`](https://github.com/nix-community/nix-direnv#installation) - [Set up `direnv`](https://github.com/nix-community/nix-direnv#installation)
- Run `direnv allow` in the directory where repository is stored on your machine - Run `direnv allow` in the directory where repository is stored on your machine
> **Note**
>
> This is a security boundary, and allows automatically running code from this repository on your machine.
- Start a live preview in a different terminal: - Start a live preview in a different terminal:
```bash ```bash