Rebuilding a laptop
- make a time machine backup
- restart computer
- hold down CMD-R while booting, go into OS recovery
- wipe drive with Disk Utility, if necessary
- install OS from network
- upgrade to Yosemite, or whatever, if necessary
- enable full disk encryption
- install XCode from Software Update
- open XCode, go to
Preferences -> Downloads
, install command-line tools - ssh-keygen
- register new SSH key on your github account
- sudo mkdir -p /opt/boxen
- sudo chown ${USER}:staff /opt/boxen
- git clone git@github.com:websages/boxen.git /opt/boxen/repo
- cd /opt/boxen/repo
- ./script/boxen