summaryrefslogtreecommitdiff
path: root/README.md
blob: dc5c742d721bb416935d271a8af3d01cb2fa9380 (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
# skreutz-dot-com

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

## 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.