Skip to content

sugarshin/blog.sugarshin.net

Repository files navigation

blog.sugarshin.net

GitHub Actions Status

https://blog.sugarshin.net

Prerequirements

$ cat .nvmrc

Setup

$ npm i

Environment variables

$ cp .env.example .env.development
$ vim .env.development

$ cp .dev.vars.example .dev.vars
$ vim .dev.vars

Start dev-server

$ npm run dev

Pages Functions

Prepare Pages Functions local development environment, if you want to debug a Search related feature.

$ npx wrangler pages dev --live-reload .

Build assets

$ npm run build

Deploy

Merge to a default branch will trigger GitHub Actions that deploys assets to Cloudflare Pages.

License

Copyright (C) 2025 Shingo Sato.

All rights reserved with all articles and pictures.

Everything else in the repository is MIT licensed.