Setup script for Codeup students' laptops to install the all the tools we will need for the java course. We will install the following:
- xcode: command line tools for macs
- brew: package manager for macs
- java
- tomcat: the java webserver
- maven: a java dependency and build management tool
- mysql: the database
In addition, we will setup ssh keys for the student's laptop and guide them through the process of linking their ssh key to their Github account.
Copy and paste the following in your terminal:
bash -c "$(curl -sS https://raw.githubusercontent.com/zgulde/codeup-setup-script/master/install.sh)"
If students already have and id_rsa
ssh key generated the script will not try to
generate a new ones, and you will need to walk them through the process of adding
their existing key to Github.
The following should do the trick if they already have a ssh key pair, but it's not wired up to Github.
pbcopy < ~/.ssh/id_rsa.pub
open https://github.com/settings/ssh