This document will guide you through the steps to install the Jive Apps Command Line Tools on Apple Macintosh OS X 10.6 Snow Leopard. These tools utilize the Ruby programming language and the Git version control system, so we will need to install these as well.
- This is a step-by-step tutorial. You need to substitute your own values in the various steps below.
- Text in the comment-style boxes represents commands you will enter.
1. Mandatory pre-requisite: Create your account via the Dev Center
The account credentials you enter when you create your account are used to create your login for the command line tools and the sandboxes. If you are not already signed up, click on the link above; if someone from your company has already created a company account, please have them add you to that account; do not create another account as you will not be able to share/collaborate on the App and its submission.
2. Install Git
- Go to the Git for OS X homepage.
- Follow the link to "Download the packages here."
- Download "git-1.7.4-x86_64-leopard.dmg" (or newer if available.)
- Open the dmg package, it should mount and open a directory.
- Double click to run "git-1.7.4-x86_64-leopard.pkg"
- Welcome to the Git Installer - Click "Continue."
- Standard Install on "Macintosh HD" - Click "Install."
- Enter your password and click "OK."
- Installing git... wait for it to complete.
- Install Succeeded - Click "Close".
- Reboot your system for the installation changes to take affect
3. Configure Git
Configure the following options in Git using the Terminal app:
$ git config --global user.name "FirstName LastName"
$ git config --global user.email "firstname.lastname@example.org"
4. Generate SSH Keys
Generate an SSH key pair if you don't already have one. From the Terminal, run this command. Press Enter at all prompts. No passphrase is needed provided you do not distribute your key files.
$ ssh-keygen -t rsa -C "email@example.com"
5. Install the Jive Apps Command Line Tools Gem
From the Terminal, install the gem by running this command:
$ sudo gem install jiveapps
Now you are ready to start creating apps! Proceed to the Creating a Basic "Hello World" App tutorial.