From dc854d564f456df6c97c74e9caa487d6ca8e6a01 Mon Sep 17 00:00:00 2001 From: Shaun Kerr Date: Mon, 20 Aug 2018 14:20:18 +1200 Subject: [PATCH] unfuarked stuff for nix --- .gitignore | 1 + README.md | 10 +++++----- 2 files changed, 6 insertions(+), 5 deletions(-) diff --git a/.gitignore b/.gitignore index 8359fb5..aea8b47 100644 --- a/.gitignore +++ b/.gitignore @@ -23,3 +23,4 @@ cabal.project.local~ _site/ _cache/ Makefile +result diff --git a/README.md b/README.md index b0440e2..002a2ce 100644 --- a/README.md +++ b/README.md @@ -26,20 +26,20 @@ nix-shell --attr env rf.nix Compile the generator ``` -cabal build -``` +nix-build rf.nix +``` Generate the site ``` -cabal run site clean -cabal run site build +./result/site clean +./result/site build ``` And test it out ``` -cabal run site watch +./result/site watch ``` The site will now be avaliable at `localhost:8000`