Assignment # 1 - Get Yo' Tools Installed on Mac

In this class, you can expect to be exposed to a wide range of tools with names you may have never heard—tools like Excel, Git, and VS Code. At first, the sheer number of tools you'll be expected to use may seem overwhelming, but trust us! With a little time and with a little effort, they will be as familiar to you as a scalpel is to a surgeon or a sewing needle is to a seamstress.

Overview

In this assignment, you will be installing all of the required tools and software necessary for the class. We've got a lot to install so buckle in and get ready!

Before You Begin

Make sure you sign up for these services; you'll need all of them throughout the course.

Don't just create logins. Job recruiters often scour these sites in search of job candidates; make sure you provide your headshot and your contact info on all three services.

P.S. Don’t forget to outline your skills and your work experience on LinkedIn.

Also, make sure to accept the invite for your section on Slack as well. If you haven't received an email from us yet with the section's domain name, contact your Student Success Manager to assist you. You should receive an invite 2 weeks prior to class start.

Da Big Installation Enchilada

The rest of this assignment will walk you through the specific steps associated with installing each of the tools you'll need. Follow the instructions closely!

Google Chrome

During this course, consider Chrome_the_web browser; it comes loaded with tools for quickly editing the web pages you’ll create.

  1. If you don’t already have Chrome installed, visit the download page athttps://www.google.com/chrome/browser/desktop/.

  2. Download, open, and run through Chrome’s installation file.

Slack

You’ll be messaging your instructor, your TAs, and your fellow classmates with this business-centric chatting app. The teaching and career staff will post some of their most important announcements here so set this program up as soon as you can.

  1. If you don’t have the Slack app yet,go tohttps://slack.com/downloads. Select "Windows" to download the installation file, and then open the program.

  2. If you already use the Slack app,you just need to add our channel to your application.

    • Click the header of your current Slack Channel.

    • Then select “Sign in to another team …”

  3. As you run through the guide, make sure you do the following:

    • Enter in the domain we gave you for Slack.

    • Enter in the email with which we invited you, as well as your password, when prompted.

  4. When you see the chatroom, you’re finished.

Heroku Toolbelt

This tool lets developers deploy their web apps to the cloud, allowing anyone with the right addresses to access their creations.

  1. First, you need to sign up for a free Heroku account:https://signup.heroku.com/.

  2. Go tohttps://toolbelt.heroku.com. Download the installer.

  3. Go through the install guide. Then open Command Prompt on your computer (not Bash).

    • Command Prompt, or cmd.exe, comes preloaded on Windows operating systems, but it will be located in different locations, depending on your version of Windows. Use your OS's search feature for Command Prompt, and it should pop up shortly.
  4. Type herokuinto the command line, and then presenter When prompted, enter the credentials from your Heroku account, and then close Command Prompt.

SSH Key

Generating SSH keys allows developers to interface with certain remote services without having to constantly type out login information. You're going to set up an SSH key for GitHub.

Without a key, you won’t be able to push your code to GitHub without entering a password each time; trust us, that would be as irritating as needing a key to open every door in your home.

  1. If you haven't signed up for a GitHub account yet, you'll need to do so before moving on with these steps. Visithttps://github.com.

  2. Open up Bash.

  3. We need to set up SSH keys. First, let’s make sure you don’t already have a set of keys on your computer. Type this into your Bash window(copying and pasting will not work):

    • ls –al ~/.ssh

    • If no keys pop up, move onto step 4.

    • If keys do pop up, check that none of them are listed underid_rsa, like in this image:

      • If you do find a key with a matching name, then you can either overwrite it by following steps 4 to 6, or you can use the same key in steps 10 and beyond. Be advised that you'll have to remember the password tied to your key if you decide not to overwrite it.
  4. Type in this command along with your email to generate your keys

  5. When asked to enter a file to save the key, just hitenter.

    • Also enter a passphrase for your key.

    • Note: You shouldn’t see any characters appear in the window while typing the password.

  6. When you’re finished, your window should look like this:

  7. For the next step, we need to use a tool called ssh agent to link our key with our machine. Let’s test whether ssh-agent is working. Run this command in Bash:

    • eval "$(ssh-agent –s)"

    • If your Bash window looks like the below image, move onto the next step.

  8. Now run this command:

    • ssh-add ~/.ssh/id_rsa
  9. When prompted for a passphrase, enter the one associated with the key.

    • If you’ve forgotten this password, just create a new one, starting with step 4.
  10. We need to add the key to GitHub. Copy the key to your clipboard by entering this command:

    • clip < ~/.ssh/id_rsa.pub

    • You shouldn’t see any kind of message when you run this command. If you do, make sure you entered it correctly.

    • Do not copy anything else to your clipboard until you finish the next instructions. Otherwise, you’ll have to repeat this step again.

  11. Go tohttps://github.com/settings/ssh. Click the “New SSH Key” button.

  12. When the form pops up, enter a name for your computer in the Title input. In the Key input, paste the SSH key you copied in step 10.

  13. Now we just need to add GitHub to your computer’s list of acceptable SSH hosts. Go back to your Bash window. Type in this command:ssh –T [email protected]

    • You should see an RSA fingerprint in your window. Only enter “yes” if it matches the one highlighted in the image below.

Git & Git Bash

Coders depend on this tool for version control; the process of logging the development of programs and applications. This comes in handy during collaborative programming, when teams of programmers change, add, and remove code throughout a project’s directory; this process would be chaotic without Git.

The installation also includes Git Bash, or Bash for short. You'll be using this command line terminal throughout the course and during the rest of these instructions.

  1. Go to Git download page:https://git-scm.com/downloads. Click on the download for your computer.

  2. Run through the installation file. Make sure you check off the right boxes as shown in these four images.

    • Save Git to the desktop (this should save Git Bash to your desktop too).

    • Use Git from the Windows Command Prompt.

    • Checkout as-is.

    • Use Windows' default console window.

MySQL

This database management system allows developers to create incredibly dynamic web applications for a variety of purposes—user-specific content, data analytics, so on and so forth.

  1. Go to MySQL for Windows:https://dev.mysql.com/downloads/installer/. Click the button in this image to download MySQL’s installer.

  2. Open and run through the installer, making sure you follow these images:

    • Server only.

    • Click "Execute" here.

    • Set your root password. Store it somewhere safe too; you'll need it later in the course.

MySQL Workbench

Developers use this MySQL GUI client to see their databases in a human-readable form. This sort of tool simplifies abstract concepts by providing developers with agraphical user interface, or GUI for short (pronouncedgooey, by the way).

  1. Make sure you’ve installed MySQL before setting up the MySQL Workbench.

  2. Go to the MySQL Workbench site:https://dev.mysql.com/downloads/workbench.

  3. Scroll down, and select the 64-bit Windows version of the software. Download it, and run through the installer.

MAMP

This tool lets developers run local servers for their back-end-reliant web apps. In other words, you can power some of your more complex sites without an internet connection.

  1. Go tohttps://www.mamp.info/en/downloads/. Select Windows, and click download.

  2. Run through the installer.

    • When prompted, make sure you deselect MAMP PRO; that’s a paid service, and you won’t need it.

SSH Key

Generating SSH keys allows developers to interface with certain remote services without having to constantly type out login information. You're going to set up an SSH key for GitHub.

Without a key, you won’t be able to push your code to GitHub without entering a password each time; trust us, that would be as irritating as needing a key to open every door in your home.

  1. If you haven't signed up for a GitHub account yet, you'll need to do so before moving on with these steps. Visithttps://github.com.

  2. Open up Bash.

  3. We need to set up SSH keys. First, let’s make sure you don’t already have a set of keys on your computer. Type this into your Bash window(copying and pasting will not work):

    • ls –al ~/.ssh

    • If no keys pop up, move onto step 4.

    • If keys do pop up, check that none of them are listed underid_rsa, like in this image:

      • If you do find a key with a matching name, then you can either overwrite it by following steps 4 to 6, or you can use the same key in steps 10 and beyond. Be advised that you'll have to remember the password tied to your key if you decide not to overwrite it.
  4. Type in this command along with your email to generate your keys

  5. When asked to enter a file to save the key, just hitenter.

    • Also enter a passphrase for your key.

    • Note: You shouldn’t see any characters appear in the window while typing the password.

  6. When you’re finished, your window should look like this:

  7. For the next step, we need to use a tool called ssh agent to link our key with our machine. Let’s test whether ssh-agent is working. Run this command in Bash:

    • eval "$(ssh-agent –s)"

    • If your Bash window looks like the below image, move onto the next step.

  8. Now run this command:

    • ssh-add ~/.ssh/id_rsa
  9. When prompted for a passphrase, enter the one associated with the key.

    • If you’ve forgotten this password, just create a new one, starting with step 4.
  10. We need to add the key to GitHub. Copy the key to your clipboard by entering this command:

    • clip < ~/.ssh/id_rsa.pub

    • You shouldn’t see any kind of message when you run this command. If you do, make sure you entered it correctly.

    • Do not copy anything else to your clipboard until you finish the next instructions. Otherwise, you’ll have to repeat this step again.

  11. Go tohttps://github.com/settings/ssh. Click the “New SSH Key” button.

  12. When the form pops up, enter a name for your computer in the Title input. In the Key input, paste the SSH key you copied in step 10.

  13. Now we just need to add GitHub to your computer’s list of acceptable SSH hosts. Go back to your Bash window. Type in this command:ssh –T [email protected]

    • You should see an RSA fingerprint in your window. Only enter “yes” if it matches the one highlighted in the image below.

Amaze-Balls!

If you got through all the installations, give yourself a pat on the back! Installations are never fun, but just like taxes, ya gotta do them.

Be sure to take a break before continuing with the rest of the pre-work.


Data Boot Camp © 2016. All Rights Reserved.

results matching ""

    No results matching ""