1
Fork 0

Update the development section to the new setup.

This commit is contained in:
Bauke 2024-01-17 15:22:01 +01:00
parent 65c3c8509c
commit d527538aa6
Signed by: Bauke
GPG Key ID: C1C0F29952BCF558
1 changed files with 1 additions and 6 deletions

View File

@ -4,12 +4,7 @@
## Development ## Development
Requires working installations of [NodeJS](https://nodejs.org) and [pnpm](https://pnpm.io). With [Nix flakes](https://nixos.wiki/wiki/Flakes) and [direnv](https://direnv.net/) installed and enabled, all the required dependencies are automatically loaded from [`shell.nix`](./shell.nix). Then [cargo-make](https://sagiegurari.github.io/cargo-make/) can be used to build, deploy and lint the code. The available tasks are all described in the [`Makefile.toml`](Makefile.toml) configuration.
* Install the dependencies with `pnpm install`.
* Build the website with `pnpm start`.
* Deploy to Netlify with `pnpm run deploy`.
* Test the code with `pnpm test`.
## License ## License