This is the source code for burubur.github.io, built with Gatsby.
This repository is part of my personal monorepo.
- Framework: Gatsby (React-based static site generator)
- Content: Markdown-based blog posts (
src/posts) - Styling: Custom CSS and React components
- Hosting: GitHub Pages (served from the
/docsfolder)
To work on the site directly with hot-reloading:
-
Install dependencies:
npm install
-
Start Dev Server:
npm run dev
The site will be available at
http://localhost:8000.
The deployment workflow builds the static site into the docs/ directory, which is configured as the publishing source for GitHub Pages.
To build for production:
npm run prod
# 1. Cleans cache
# 2. Builds site to /public
# 3. Moves /public contents to /docsAfter building, commit and push the changes:
git add .
git commit -m "chore(site): release new version"
git pushIf you are working from the root of the Monorepo, you can automate the build, commit, and push process:
make burubur.deploy