mikedmcfarland / thrown-blog

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

This is a the code that runs https://thrownforaloop.com/. It Leverages

Development

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

Commands

yarn devrun development server
yarn test:watchrun jest tests while watching for changes
yarn buildrun next build
yarn exportrun next export, creates files for SSG
yarn lintrun next lint
yarn testrun jest tests

Org integration

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.

How to add pages/articles/snippets or other categories

About


Languages

Language:TypeScript 38.1%Language:CSS 34.5%Language:HTML 24.0%Language:JavaScript 3.4%