My blog

Prerequisites

make init

Build

  1. Install dependencies

    make install
  2. Run

    npm run build:js # if you modified the `assets/js/_main.js`
    
    make run
  3. Publish

    # update search index, `$ALGOLIA_API_KEY` should be in `~/.zshrc`
    make index
    
    # optimize images
    make optimize_images -- assets/images/<new image dir>

    Then just push the changes to GitHub.