chore(README): Update

This commit is contained in:
Tom Hubrecht 2024-12-25 22:07:39 +01:00
parent e2408410f3
commit 9493602f16
Signed by: thubrecht
SSH key fingerprint: SHA256:r+nK/SIcWlJ0zFZJGHtlAoRwq1Rm+WcKAm5ADYMoQPc

View file

@ -2,31 +2,22 @@
This is the website for dgnum.eu This is the website for dgnum.eu
Enable nix flakes and install direnv.
## Deploy ## Deploy
TODO auto deploy from master using gitea hooks. The deployment is done automatically when an update is done here.
## Build Static Site ## Build Static Site
``` ```bash
nix build 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 direnv allow
cd site npm install
ssg clean npm run dev
ssg rebuild
ssg watch
```
## Working on the Static Site Generator
```console
nix develop .#ssg
cd ssg
``` ```