unfuarked stuff for nix

This commit is contained in:
Shaun Kerr 2018-08-20 14:20:18 +12:00
parent bfa4e4fd6a
commit dc854d564f
2 changed files with 6 additions and 5 deletions

1
.gitignore vendored
View File

@ -23,3 +23,4 @@ cabal.project.local~
_site/
_cache/
Makefile
result

View File

@ -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`