john melesky b86c559acf updated resume | vor 6 Jahren | |
---|---|---|
css | vor 8 Jahren | |
images | vor 8 Jahren | |
posts | vor 7 Jahren | |
stuff | vor 8 Jahren | |
talks | vor 8 Jahren | |
templates | vor 6 Jahren | |
.gitignore | vor 8 Jahren | |
README.md | vor 6 Jahren | |
about.md | vor 8 Jahren | |
my-site.cabal | vor 8 Jahren | |
resume_jmelesky.pdf | vor 6 Jahren | |
site.hs | vor 8 Jahren | |
stack.yaml | vor 8 Jahren | |
stuff.md | vor 8 Jahren | |
talks.md | vor 8 Jahren | |
work.md | vor 8 Jahren |
Yeah, yeah, some documentation.
This is written in Hakyll.
From scratch:
apt install haskell-stack
. It's an older version, but it worksstack build --install-ghc
apt install libz-dev
stack exec site build
_site
If you add a page (blog post or whatnot):
stack exec site build
If you make a change to site.hs
:
stack build
stack exec site rebuild
Honestly, you can use rebuild
all the time if you want to, but it will be a little longer -- it deletes _site
and builds it from scratch.
All you need is stack exec site watch
.
On the current Rimu VM (as of mid-2018):
cd code/pdorg_site
git pull; stack exec site rebuild
As above, if you make a change to the site.hs
, you'll instead want:
cd code/pdorg_site
git pull
stack build
stack exec site rebuild