Setting up Github - RethinkRobotics/sdk-docs GitHub Wiki
- A developer workstation meeting the minimum system requirements is available for use.
- The developer workstation OS software has been set up successfully - instructions here.
- Your developer machine is set up to access Rethink files from Github.
-
If git is not already installed on development workstation, you will need to install it as follows:
$ sudo apt-get install git-core
-
Set up your git credentials on the Development Workstation as follows.
$ git config --global user.email <[email protected]>
$ git config --global user.name "<FirstName LastName>"
###Setup Git SSH Keys
- Github will need your SSH public (*.pub) key.
- Navigate to your
~/.ssh
directory and copy the full contents of theid_dsa.pub
file to the clipboard.- If there is no id_dsa.pub file in this folder, run:
$ ssh-keygen -t dsa
to create one. - Simply hit enter when prompted without typing anything to create the files in the correct location.
- Once this is finished add the new ssh key to the ssh-agent with:
$ ssh-add ~/.ssh/id_dsa
- If there is no id_dsa.pub file in this folder, run:
- Now go to Github.com and log in with the Github account you will use with Rethink Software.
- Go to Account settings (2nd icon right of your account name, on the top navigation bar of Github.com).
- Navigate to the left panel, and click "SSH Keys".
- Now click the "Add SSH key" button in the upper right of the SSH Keys page.
- Enter a name for the key and paste the contents of your clipboard into the "Key" section, then save the key.
- Navigate to your