Skip to content

Naming the repo "johanbrook.com" was a mistake.

Notifications You must be signed in to change notification settings

johanbrook/johanbrook.com

Folders and files

NameName
Last commit message
Last commit date

Latest commit

39e3e9d · Feb 17, 2025
Jan 22, 2025
Mar 2, 2024
Dec 30, 2024
Jun 13, 2024
Mar 2, 2024
Dec 30, 2024
Feb 17, 2025
Jun 7, 2024
Mar 2, 2024
Jul 16, 2022
Oct 22, 2024
Jan 24, 2025
Sep 17, 2018
Feb 19, 2024
Jan 24, 2022
Mar 2, 2024
Feb 5, 2025
Jun 7, 2024
Oct 22, 2024
Jan 22, 2025
Feb 5, 2025
Dec 30, 2022
Jan 9, 2024
Feb 7, 2024
Mar 2, 2024
Mar 2, 2024
May 3, 2023

Repository files navigation

Johan's site

Build & Deploy

Setup

  1. Install deno:
# Mac and Linux
curl -fsSL https://deno.land/install.sh | sh

Other installation options exist too.

  1. Install Lume locally:
deno run -A https://deno.land/x/lume/install.ts

Build

deno task build

Serve

deno task serve

Scripts

Create a new post

./script/new-post

Create a new note ("what's on my mind")

./script/new-note

Manual re-deploy

If something's messed up, this is new without having to do a content change.

./script/deploy

Run a function locally

npm install
npm run functions

Access functions in functions/ as paths on http://127.0.0.1:8788/:function.