From 0d019dfef94011a51b798714bea4ba31a8f8aac8 Mon Sep 17 00:00:00 2001 From: jacekpoz Date: Wed, 22 May 2024 22:09:37 +0200 Subject: [PATCH] add instructions on how to build and run the example --- README.md | 2 ++ 1 file changed, 2 insertions(+) diff --git a/README.md b/README.md index c7b2b67..bcf7708 100644 --- a/README.md +++ b/README.md @@ -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