Requirements

Basic requirements

Node

You will need a recent version of node.js on your system. To check if you have node installed, open a Terminal window and run the command node -v. You should see a version number. If it’s higher than Node 8 you should definitely be okay!

If you don’t have node installed, you can download the installer from nodejs.org. Choose the stable version.

Gulp

Bedrock relies on gulp, a Javascript task runner. To check if you have gulp installed, open a Terminal window and run the command gulp -v. You should see a version number. If it’s higher than 3.9.1 you should definitely be OK.

If you don’t have gulp installed, you can run npm install -g gulp from a Terminal window. This will install gulp globally.

Advanced setup from scratch (Mac)

The above basic setup works, but if you want to have more control over the versions of node (and optionally Ruby) you could use nvm and rvm.

These are the steps you need to take in order to make sure you have a good , versioned dev environment where Bedrock works reliably on macOS.

General installation

  • Install homebrew
  • brew install nvm
  • nvm install 8.3
  • Clone Bedrock via GitHub
  • Open the project directory in terminal
  • npm install
  • gulp

Specfic to icon fonts

  • Install xcode command line tools
  • xcode-select --install
  • Install RVM
  • Install ruby 2.3.0 via rvm
  • brew install fontforge
  • gem install bundler
  • run bundle install In the project root