Officially my profile site, but I hope to grow it into a digital garden of sorts. I also want it to be simple to maintain, update with new content, and deploy.

Stack:

Configuration

Update entries in root _config.yml and _config.cactus.yml files.

Sensitive or environment dependent entries should be added to _config.local.yml and _config.prod.yml. (See _config.env.yml.sample) These files are ignored in commits.

Local Development

Install project and theme dependencies:

npm install && npm run install-theme

Clean hexo project and generate static files:

npm run build-dev

Run hexo server:

npm run server-dev

View the development app at http://localhost:4000.

Deploy to Production

Clean hexo project and generate static files:

npm run build-prod

Login to Wrangler (Cloudflare workers):

npm exec wrangler login

Deploy to Cloudflare worker:

npm run deploy-prod

View the production app at https://hello.chels.workers.dev/.