Setup Local Website Preview

  • Install Ruby + Bundler + Jekyll: macOS (Homebrew)
    brew install ruby
    echo 'export PATH="/opt/homebrew/opt/ruby/bin:$PATH"' >> ~/.zshrc && source ~/.zshrc
    gem install bundler jekyll
    
  • From site folder (where Gemfile lives)
    bundle install
    bundle exec jekyll serve --livereload --baseurl ""
    
  • Open prevew
    http://localhost:4000/