This is the source repository for my personal blog.
The blog is hosted on GitHub Pages at https://gregorias.github.io and uses Jekyll for site generation.
-
Install Lefthook.
lefthook install
-
Allow
.envrc
.direnv allow
-
Install project dependencies:
rbenv install gem install bundler bundler install
To preview your drafts, run
jekyll serve --drafts
This will run a local server instance with live updates.
To build the static website before release, run
jekyll build
To update the used Ruby version:
-
Update
.ruby-version
. -
Update
.github/workflows/jekyll-build-and-deploy.yml
. -
Clean currently generated files and regenerate them:
git clean -xdf bundler install just build
To update the used Bundler, delete the lockfile and regenerate with
bundler install
.