Skip to content

Development setup for Mac OS X

Robb Hamilton edited this page Dec 15, 2015 · 8 revisions
  1. Install Xcode.

  2. In the Terminal, type xcode-select --install.

  3. The output on Command Line will be: xcode-select: note: install requested for command line developer tools.

  4. A dialogue box should appear to confirm your installation. Click install.

  5. To verify that you have installed Xcode Command Line Tools properly, type xcode-select -p.

  6. It should output: /Applications/Xcode.app/Contents/Developer(El Capitan) or /Library/Developer/CommandLineTools(Yosemite).

  7. If you do not already have it, download the GitHub Desktop app and sign into it (you may need to create an account if you don't already have one).

  8. Navigate to the patternfly-toolkit page.

  9. Just to the left of the "Download Zip" button, click the button with a picture of a screen with a down arrow. Its tooltip says "Save patternfly/patternfly-toolkit to your computer and use it in GitHub Desktop." The GitHub Desktop app should open.

  10. Click the Clone button that appears in the GitHub Desktop app and make note of the location you save to.

  11. Open Terminal and type cd [path-to-wherever-you-saved-patternfly-toolkit-in-the-previous-step]

  12. Return to the patternfly-toolkit page and follow the Development Setup instructions.

    Notes:

    • All the commands listed in the Development Setup instructions should be run from the existing Terminal window you previously opened.
    • You do not need to install Ruby as it is already installed.
    • Prefix all npm and gem commands with sudo (e.g., sudo npm install -g bower).

Clone this wiki locally