readme: fix up the build instructions to mention nix

This commit is contained in:
colin 2022-07-09 14:24:27 -07:00
parent 669ccf4bf4
commit 85a9474b18
1 changed files with 9 additions and 7 deletions

View File

@ -1,12 +1,14 @@
this is the source for Colin's landing page on the net. mostly it holds a blog plus some outlinks.
this is the source for Colin's [homepage](https://uninsane.org) on the net. mostly it holds a blog plus some outlinks.
Building
========
install [Zola](https://www.getzola.org). then build:
```sh
$ zola build
```
just use `make`.
the output will be in `public/`. the relevant parts of that output should be linked into the root of whatever software (e.g. nginx) is serving the site.
to preview the site, run `make preview` and open the URL from the output.
optionally, build this from nix using either `nix build`, or `nix develop` and then running make commands inside the shell.
prerequisites: see `flake.nix`, but for now it's just [Zola](https://www.getzola.org) and GNU make.