chore(README): Update
This commit is contained in:
parent
e2408410f3
commit
9493602f16
1 changed files with 9 additions and 18 deletions
27
README.md
27
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
|
||||
```
|
||||
|
|
Loading…
Reference in a new issue