Sem descrição

john melesky b86c559acf updated resume há 7 anos atrás
css c5c781d95f removed google web font há 9 anos atrás
images 236dabf68b new post about distances há 10 anos atrás
posts 21ff8bdcd1 rust post, take 2 há 9 anos atrás
stuff a35862ce80 update link to zombie protagonist há 10 anos atrás
talks bf3781cf1a add SVM lightning talk há 10 anos atrás
templates 472cf4ee20 update copyright, because, hey, time passed há 7 anos atrás
.gitignore 129a48cb75 ignore emacs and osx files há 9 anos atrás
README.md def3ce08c4 docs for local viewing and deploying to site há 7 anos atrás
about.md 8ae01957ea updated about page with new feature info há 10 anos atrás
my-site.cabal 9b8a242398 added math, courtesy of https://www.jdreaver.com/posts/2014-06-22-math-programming-blog-hakyll.html há 10 anos atrás
resume_jmelesky.pdf b86c559acf updated resume há 7 anos atrás
site.hs 0e96bd38be building talks, and fixing some javascript há 10 anos atrás
stack.yaml a0bae5758b initial example site há 10 anos atrás
stuff.md 912fcb0304 layout typo fix in stuff.md há 10 anos atrás
talks.md a61aa2d2e9 new talks page há 10 anos atrás
work.md 61e967441e fix some titles and links há 10 anos atrás

README.md

pdorg_site

Installation

Yeah, yeah, some documentation.

This is written in Hakyll.

From scratch:

  • install stack (http://haskellstack.org) - any method should do, but my most recent just used apt install haskell-stack. It's an older version, but it works
  • use stack to install everything, including a compiler - stack build --install-ghc
    • you may have to install some dependencies. most recently, I had to apt install libz-dev
  • use stack to build the site: stack exec site build
  • compiled site contents are in _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.

Running locally

All you need is stack exec site watch.

Deploying

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