summaryrefslogtreecommitdiff
path: root/README.md
blob: 714ed8b540c9512c6296277292528d964b15de36 (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
31
32
33
34
35
# Stefan Kreutz' blog

This is the source code of my personal website: https://www.skreutz.com/.

This project's original source code is hosted
[here](https://git.skreutz.com/blog.git/).

## Usage

Build the static website generator. Note that GHC needs more than 4GB of memory
to build Pandoc:

    $ cabal v2-clean
    $ cabal v2-update
    $ ulimit -Sd $((8*1024*1024))
    $ nice cabal v2-build --jobs
    $ cabal v2-freeze

Print the help text of the custom static website generator:

    $ cabal v2-run exe:site -- --help

Serve a preview of the website at http://localhost:8080/:

    $ cabal v2-run exe:site -- clean
    $ cabal v2-run exe:site -- watch

Deploy the website:

    $ cabal v2-run exe:site -- deploy

## Credits

Built with [Hakyll](https://jaspervdj.be/hakyll/) and
[Pandoc](https://pandoc.org/).
Generated by cgit. See skreutz.com for my tech blog and contact information.