While there is an emphasis on the “dev” portion of my workstation – mostly because there is more of a need to ensure the various tools and their compatibility is maintained. I do want to clarify that I use the same workstation for my personal stuff too.
- Reinstall OS
- Reformat / Clean HD
- Install OS
- Set Finder to show / display the desired Folders / Volumes
- Set iCloud share to include expected shared folders
- Upgrade to macOS Sierra
- Install Basic Tools
- iTerm 2
- Keybase / 1password
- Slack
- chrome / Firefox
- —Google Drive—
- Viber / WhatsApp <- more personal than development need
- Sublime / atom
- Install Dev Tools
- Xcode – this can take a v-e-r-y l-o-n-g time
- homebrew – check brew.sh for instruction
- git
- Xcode Developer Tools
- cocoapods
- vagrant
- virtualbox
- npm
- docker
- terraform
- kops
- kubectl
- kuber
- bundler – this needs to happen after RVM
- sudo gem install bundler
- cd ~/dev/GAR/chef-repo ; bundle install
- rvm with latest ruby (NOTE: ruby v2.3.1 seems to be a good one to stick to)
- curl -L https://get.rvm.io | bash -s stable –auto-dotfiles –autolibs=enable –ruby
- rvm install 2.3.1
- gem install librarian-chef
- librarian-chef install
- berks install
- chef DK
- Google Cloud Platform / Engine
- —
- AWS CLI
- brew install awscli
Issues:
rvm shell_session_update: command not found
Possible solution –
http://superuser.com/questions/1044130/why-am-i-having-how-can-i-fix-this-error-shell-session-update-command-not-f
Note:
Uninstall rvm
1. rvm implode
2. gem uninstall rvm
chef aws provisining -> https://christinemdraper.wordpress.com/2015/01/31/deploying-a-multi-node-application-to-aws-using-chef-provisioning/
VM
- list available vagrant box – vagrant box list
- add vagrant image (if not already in the list above) – vagrant box add ; vagrant box add ubuntu/trusty64
- initialize a vagrant image – vagrant init
- bring up the vagrant box – vagrant up
- log / ssh into the vagrant box – vagrant ssh
rails
- sudo apt-get install gnupg2
- gpg2 –recv-keys 409B6B1796C275462A1703113804BB82D39DC0E3
- curl -sSL https://rvm.io/mpapis.asc | gpg –import –
- curl -L https://get.rvm.io | bash -s stable –rails
- source /home/vagrant/.rvm/scripts/rvm
- ruby –version
- rails –version
- sudo apt-get install git
- eval ssh-agent $SHELL