To build and serve the site locally (assuming an Ubuntu operating system):
- Install at least Ruby 2.7 using your preferred method.
- Install build tools:
sudo apt install build-essential
- Install the bundler:
gem install bundler
- Navigate to the repository directory
- Install dependencies:
bundle install
- Serve the site:
bundle exec jekyll serve
- View the site in a browser using the link provided in your terminal: http://localhost:4000
For more convenient development, consider enabling live reloading and incremental builds. To do so, use this command instead
to serve the site: bundle exec jekyll serve -l --incremental
This will speed up the build process, and will also reload your browser automatically when changes are saved.
Production builds use GitHub Pages via GitHub Actions.