aboutsummaryrefslogtreecommitdiff
path: root/README.md
blob: 3753237a159a51882731ea2ac02c765a9c21f418 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
# Install
```bash
git submodule init
git submodule update --remote
```

# Develop
```bash
nix develop
hugo new content/post/<post-slug>/index.md
```

# Run (dev server)
```bash
nix develop
hugo server -D

# OR for docker:
docker run --rm -it \
  -v $(pwd):/src \
  -p 1313:1313 \
  klakegg/hugo:latest \
  server -D
```
Then go to `localhost:1313`.

# Publish
```bash
./deploy.sh
```