From 9493602f1686c83de5dd30de7675424e4234bff2 Mon Sep 17 00:00:00 2001 From: Tom Hubrecht Date: Wed, 25 Dec 2024 22:07:39 +0100 Subject: [PATCH] chore(README): Update --- README.md | 27 +++++++++------------------ 1 file changed, 9 insertions(+), 18 deletions(-) diff --git a/README.md b/README.md index ca537c2..eacc778 100644 --- a/README.md +++ b/README.md @@ -2,31 +2,22 @@ This is the website for dgnum.eu -Enable nix flakes and install direnv. - ## Deploy -TODO auto deploy from master using gitea hooks. +The deployment is done automatically when an update is done here. ## Build Static Site -``` -nix build +```bash +nix-build ``` -## Writing Posts +## Develop -```console +The website uses [11ty](https://www.11ty.dev/) for its build, to use it locally, just: + +```bash direnv allow -cd site -ssg clean -ssg rebuild -ssg watch -``` - -## Working on the Static Site Generator - -```console -nix develop .#ssg -cd ssg +npm install +npm run dev ```