Skip to content

Instantly share code, notes, and snippets.

@waspyfaeleith
Last active February 21, 2017 13:23
Show Gist options
  • Save waspyfaeleith/8641698bc36534941d59 to your computer and use it in GitHub Desktop.
Save waspyfaeleith/8641698bc36534941d59 to your computer and use it in GitHub Desktop.

Student Machine Setup

Google Chrome

Log in to Google using your Google account.

Configure Git

Configure your name and email address for commits (be sure to use the email address you have registered with Github). Open up your Terminal and type the following commands:

git config --global user.name "Your Name"

git config --global user.email "you@example.com"

Configure SSH access to Github

  1. First, we need to check for existing SSH keys on your computer. Open up your Terminal and type: ls -al ~/.ssh Check the directory listing to see if you have files named either id_rsa.pub or id_dsa.pub. If you have either of those files you can skip to the step 'add your SSH key to Github'.
  2. Generate a new SSH key ssh-keygen -t rsa -C "your_email@example.com"
  3. You'll be prompted for a file to save the key, and a passphrase. Press enter for both steps (default name, and no passphrase)
  4. Then add your new key to the ssh-agent: ssh-add ~/.ssh/id_rsa
  5. Add your SSH key to GitHub by logging into Github, visiting account settings and clicking SSH keys. Click Add SSH key
  6. Copy your key to the clipboard with the terminal command: pbcopy < ~/.ssh/id_rsa.pub
  7. On Github, create a descriptive title for your key, an paste into the key field - do not add or remove and characters or whitespace to the key
  8. Click Add key and check everything works in the terminal by typing: ssh -T git@github.com

###Install Slack

  1. Open up the App Store and Search for 'Slack'. Click 'Install'.
  2. Log in to Slack using your account and leave the app running.
  3. Right-click (two-finger click) on the icon in the Dock and select 'Options/Keep in Dock'

NOTE: the team name is Codeclanteam, not Codeclan

Changing the full name 'user' account

Your laptop has been set up with an account called user. This account also has a 'Full Name' associated with it. You can change this to your name if you so wish by doing the following:

  1. From the Apple menu, choose System Preferences.
  2. Click the Users & Groups icon in the System Preferences window.
  3. If the lock icon in the corner of the window is locked, click the icon to unlock it, then enter an administrator name and password.
  4. From the list of users, right-click or Control-click on the user account that you want to rename. Choose "Advanced Options" from the shortcut menu that appears.
  5. Change the name in the "Full name" field, then click Ok.

Do not create any new user accounts

Do not change the account name from 'user'- this will prevent you from being able to log in again

You may change the password if you want, probably to something a little more secure than 'password'!

DO NOT CLEAN YOUR SCREEN WITH LCD SCREENWIPES/CLEANER - this will damage the screen. To clean your screen ONLY use the little black cloth which comes with your MacBook.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment