zgulde / codeup-setup-script

Setup script for codeup students' laptop

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Codeup Setup Script

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 we'll use for the class
  • node js: a JavaScript runtime outside of the browser
  • npm: a package manager for JavaScript

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.
  • Setup a global gitignore file and set the default commit editor to nano (only if these are not already set)

For Students

Copy and paste the following in your terminal:

bash -c "$(curl -sS https://raw.githubusercontent.com/zgulde/codeup-setup-script/master/install.sh)"

Note for Instructors

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

About

Setup script for codeup students' laptop


Languages

Language:Shell 100.0%