To preview your changes locally, you'll want to run the site on your desktop:
- Fork the repo, then clone your fork locally
- Open your command line interface, and cd into the directory where you cloned your repo
- Run any subsequent commands from this directory
-
First you'll need xcode development tools:
$ xcode-select --install
-
Then install Homebrew (this is optional but makes Jekyll easier)
/usr/bin/ruby -e "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install)"
-
Now install Ruby
brew install ruby
$ sudo gem install jekyll bundler
$ jekyll build --watch
$ jekyll serve
(By default, the site will be available at http://127.0.0.1:4000)