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
|
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
|
|
||||||
```
|
```
|
||||||
|
|
Loading…
Reference in a new issue