This is a the code that runs https://thrownforaloop.com/. It Leverages
A reasonable local development setup would be to run the dev server and jest
open http://localhost:3000
yarn dev
and in a separate terminal
yarn watch:test
yarn dev | run development server |
yarn test:watch | run jest tests while watching for changes |
yarn build | run next build |
yarn export | run next export, creates files for SSG |
yarn lint | run next lint |
yarn test | run jest tests |
The org sources aren’t used directly, the site depends on json files produced by ox-json a JSON export back end for Emacs Org mode. I played quite a bit with things like orgajs and eventually decided it would be simplier to just have a json export in emacs, and look at that, it exists.