Skip to content

Development setup for Mac OS X

Robb Hamilton edited this page Jun 28, 2016 · 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-org page.

  9. Click the green Clone or Download button on the right.

  10. Click the Open in Desktop button at the bottom left of the Clone or Download dropdown.

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

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

  13. Return to the patternfly-org 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).