john melesky b86c559acf updated resume | 6 years ago | |
---|---|---|
css | 8 years ago | |
images | 8 years ago | |
posts | 7 years ago | |
stuff | 8 years ago | |
talks | 8 years ago | |
templates | 6 years ago | |
.gitignore | 8 years ago | |
README.md | 6 years ago | |
about.md | 8 years ago | |
my-site.cabal | 8 years ago | |
resume_jmelesky.pdf | 6 years ago | |
site.hs | 8 years ago | |
stack.yaml | 8 years ago | |
stuff.md | 8 years ago | |
talks.md | 8 years ago | |
work.md | 8 years ago |
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