add instructions on how to build and run the example

This commit is contained in:
jacekpoz 2024-05-22 22:09:37 +02:00
parent e50db3c03a
commit 0d019dfef9
Signed by: poz
SSH key fingerprint: SHA256:JyLeVWE4bF3tDnFeUpUaJsPsNlJyBldDGV/dIKSLyN8

View file

@ -6,6 +6,8 @@ nix template engine - takes some templates, entries and applies the templates to
check `example/` for a static website written in nte
build and run it using `nix shell nixpkgs#darkhttpd --command sh -c "nix build -L .#examples.x86_64-linux.default && darkhttpd ./result"`; the site will be available at http://localhost:8080
the example is a cut down version of [my own website](https://jacekpoz.pl) (of course also written in nte)
# usage