Browse Source

unfuarked stuff for nix

master
Shaun Kerr 5 years ago
parent
commit
dc854d564f
2 changed files with 6 additions and 5 deletions
  1. +1
    -0
      .gitignore
  2. +5
    -5
      README.md

+ 1
- 0
.gitignore View File

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

+ 5
- 5
README.md View File

@@ -26,20 +26,20 @@ nix-shell --attr env rf.nix
Compile the generator Compile the generator


``` ```
cabal build
```
nix-build rf.nix
```


Generate the site Generate the site


``` ```
cabal run site clean
cabal run site build
./result/site clean
./result/site build
``` ```


And test it out And test it out


``` ```
cabal run site watch
./result/site watch
``` ```


The site will now be avaliable at `localhost:8000` The site will now be avaliable at `localhost:8000`


Loading…
Cancel
Save