This github project shows all the settings alongside the content of my blog at blog.tpleyer.de.
The blog is a collection of static websites generated by Hakyll. My Hakyll settings as well as the markdown sources for every blog post are all available in this repository.
The following commands will generate the blog posts in HTML format under the folder _site:
Using stack
~$ git clone https://github.com/TobiasPleyer/blog.git
~$ cd blog
~$ stack build
~$ stack exec site build
Using Nix and cabal
~$ git clone https://github.com/TobiasPleyer/blog.git
~$ cd blog
~$ nix-shell
[nix-shell]$ cabal configure && cabal build
[nix-shell]$ cabal run site -- build
At this point you can host and browse the website locally on your machine by executing one of the following commands:
~$ stack exec site watch
[nix-shell]$ cabal run site -- watch
At this point, if you enter localhost:8000 in your browser, you should be able to see and browse the website.