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.
- LinkedIn: https://www.linkedin.com
- GitHub: https://github.com
- StackOverflow: http://stackoverflow.com
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.
If you don’t already have Chrome installed, visit the download page athttps://www.google.com/chrome/browser/desktop/.
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 hereso set this program up as soon as you can.
If you don’t have the Slack app yet,search for Slack in your Mac’s App store, and then click the Get button under the app’s listing. Click the button again when it displays “install.”
- When the app finishes installing, open it and move on to step 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 …”
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.
Heroku Toolbelt
This tool lets developers deploy their web apps to the cloud, allowing anyone with the right addresses to access their creations.
First, you need to sign up for a free Heroku account: https://signup.heroku.com/.
Then go to https://toolbelt.heroku.com. Download the installer.
Go through the install guide. Then open Terminal. Type
heroku
into the command line, and then pressreturn.When prompted, enter the credentials you used when you signed up for your Heroku account.
Homebrew
This tool makes it a cinch to install new programs and libraries in your Terminal window.
Go to http://brew.sh. Copy the script listed under “Install Homebrew.”
Paste the script into your Terminal window. Press thereturnkey when prompted.
Git / GitHub (SSH Key Set Up)
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.
Sign up for an account on https://github.com.
Open up Terminal.
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 Terminal window(copying and pasting will not work):
ls –al ~/.ssh
If no keys pop up, move on to step 4.
If keys do pop up, check that none of them are listed under
id_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.
Type in this command along with your email to generate your keys:
ssh-keygen –t rsa –b 4096 –C "[email protected]"
When asked to enter a file to save the key, just hitreturn.
Also enter a passphrase for your key.
Note: You shouldn’t see any characters appear in the window while typing the password.
When you’re finished, your window should look like this:
For the next step, we need to use a tool called an ssh agent. Let’s test whether that’s working on your machine. Run this command in Terminal:
eval "$(ssh-agent –s)"
If your Terminal window looks like the image below, move onto the next step.
Now run this command:
ssh-add ~/.ssh/id_rsa
When prompted for a passphrase, enter the one associated with the key.
- If you’ve forgotten this key, just go through step 4 to create a new one.
We need to add the key to GitHub. Copy the key to your clipboard by entering this command:
pbcopy < ~/.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 until you finish the next steps. Otherwise, you’ll have to enter the copy command again.
Go to https://GitHub.com/settings/ssh. Click the “New SSH key button.”
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.
Now we just need to add GitHub to your computer’s list of acceptable SSH hosts. Go back to your Terminal 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:
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.
- Just run this command in your Terminal window:
brew install mysql
Sequel Pro
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).
Head to https://sequelpro.com/download. Click the "Download Now" button.
Open the dmg file. A Window should pop up on your computer with the Sequel Pro program. Drag this into your Mac’s Applications folder.
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.
Go to https://www.mamp.info/en/downloads/. Select Mac, and click download.
Run through the installation.
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.
Copyright
Data Boot Camp © 2016. All Rights Reserved.