johanbrook.com
johanbrook.com copied to clipboard
Naming the repo "johanbrook.com" was a mistake.
Johan's site
Setup
- Install deno:
# Mac and Linux
curl -fsSL https://deno.land/install.sh | sh
Other installation options exist too.
- 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
.