- Install Homebrew:
/usr/bin/ruby -e "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install)"
- Install Xcode Developer Tools
brew install ruby automake autoconf libtool
gem install bundler
- If ffi throws an error, first try
gem install ffi -v '1.9.21'
- If ffi throws an error, first try
- Install SASS:
brew install sass/sass/sass
- If recommended in brew message, run
brew link --overwrite sass
- If recommended in brew message, run
- To test, restart terminal and run
bundle exec jekyll serve
To manually build for git pages: bundle exec jekyll build
To develop locally: bundle exec jekyll serve
Follow instructions in terminal
To build for production: bundle exec jekyll build --config=_config.yml,_config-prod.yml
Note: bundle exec jekyll serve
fails to include both config files.
If using the configured deploy script, you can simply run ./deploy