This guide will help you set up a local development environment for this Jekyll site with fast reload times.
/bin/bash -c "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/HEAD/install.sh)"
brew install rbenv
echo 'eval "$(rbenv init -)"' >> ~/.zshrc
source ~/.zshrc
rbenv install 3.2.2
rbenv global 3.2.2
which ruby # Should show ~/.rbenv/shims/ruby
ruby -v # Should show ruby 3.2.2 or similar
gem install bundler
cd /path/to/project
bundle install
bundle exec jekyll serve --livereload --config _config.yml,_config-dev.yml
Your site will be available at:
The development configuration includes several optimizations:
The following files/directories are ignored in Git:
_site/
(build output).sass-cache/
.jekyll-cache/
.jekyll-metadata
.bundle/
vendor/
.DS_Store
, etc.).idea/
, .vscode/
)If you encounter permission errors:
which ruby
points to rbenvFor slow build times:
_config-dev.yml
--incremental
flag for faster rebuilds