The following instructions will help you to get ready for N17R programming classes. If you are an experienced programmer, you may choose to skip some of the steps, but make sure to check the bootstrap script.
Have you signed up to GitHub? If not, do it right away.
Open the Terminal (click on the magnifying glass icon in the top right corner of your screen and type Terminal
):
Copy-paste the following command, i.e. what is after the dollar sign $
. The dollar sign is a common convention to indicate this is something you need to type in the terminal.
$ curl -fsSL https://raw.githubusercontent.com/N17R/setup/master/bootstrap.sh | sh
Please follow the instructions, and if you have any questions just call a mentor.
This script will configure your laptop and install all the necessary packages for your command line. If you need some clarifications about exactly that means, you can open the link in the command and read the comments.
When the script is finished, you should have Atom, Iconjar, Sketch, Slack, and Sourcetree apps installed. If they are not, stop right away and call a mentor.
Hackers love to refine and polish their shell and tools. We'll start with a great default configuration provided by N17R, stored on GitHub. If you are more advanced, you can fork the repository and make your adjustments before proceeding.
Type this in your terminal:
$ brew install thoughtbot/formulae/rcm
$ git clone --recursive https://github.com/n17r/dotfiles.git ~/.dotfiles
$ rcup -v -d ~/.dotfiles/symlinks
You may want to change the username in the Github link above if you forked the repository to use your own configuration.
When the script is finished, quit your terminal and restart it (⌘ + Q).
You should now see something like this:
If not, stop right away and call a mentor.
We will be distributing Xcode via our local network using ... TBD
After you are done installing Xcode, you can type the following command in your terminal:
$ curl -fsSL https://raw.githubusercontent.com/N17R/setup/master/xcode.sh | sh
It will install Alcatraz, which is a package manager for Xcode. Then, using Alcatraz, the script will download and enable several plugins that you will find useful while working with Xcode.
When a new version of Xcode is released, you won't need to set it up again using a dmg file. The xcversion
tool that was installed earlier simplifies that process. For more information refer to xcversion
's Github page.