Local Development Setup Guide

This guide will help you set up a local development environment for this Jekyll site with fast reload times.

Prerequisites

  1. Install Homebrew (if not already installed):
    /bin/bash -c "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/HEAD/install.sh)"
    
  2. Install rbenv for Ruby version management:
    brew install rbenv
    echo 'eval "$(rbenv init -)"' >> ~/.zshrc
    source ~/.zshrc
    
  3. Install Ruby using rbenv:
    rbenv install 3.2.2
    rbenv global 3.2.2
    
  4. Verify Ruby installation:
    which ruby    # Should show ~/.rbenv/shims/ruby
    ruby -v      # Should show ruby 3.2.2 or similar
    

Project Setup

  1. Install Bundler:
    gem install bundler
    
  2. Install project dependencies:
    cd /path/to/project
    bundle install
    

Development Server

  1. Run the development server with live reload:
    bundle exec jekyll serve --livereload --config _config.yml,_config-dev.yml
    

Your site will be available at:

Build Times

The development configuration includes several optimizations:

Git Ignore

The following files/directories are ignored in Git:

Troubleshooting

If you encounter permission errors:

  1. Make sure you’re using rbenv Ruby (not system Ruby)
  2. Check which ruby points to rbenv
  3. Try restarting your terminal

For slow build times:

  1. Check the profile output
  2. Consider disabling unused plugins in _config-dev.yml
  3. Use --incremental flag for faster rebuilds
rss facebook twitter github gitlab youtube mail spotify lastfm instagram linkedin google google-plus pinterest medium vimeo stackoverflow reddit quora quora