stack install hakyll
hakyll-init my-site
cd my-site
stack init # creates stack.yaml file based on my-site.cabal
stack build
stack exec site build #create _site(HTML&asset, ready to be deployed), _cache(used by Hakyll)
stack exec site watch # preview and now go to localhost:8000
stack exec site clean #remove _site, _cahce
Change content
stack exec site build
Change site.hs
stack build
stack exec site rebuild