Dev Workstation Setup

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.

  1. Reinstall OS
    1. Reformat / Clean HD
    2. Install OS
      1. Set Finder to show / display the desired Folders / Volumes
      2. Set iCloud share to include expected shared folders
    3. Upgrade to macOS Sierra
  2. Install Basic Tools
    1. iTerm 2
    2. Keybase / 1password
    3. Slack
    4. chrome / Firefox
    5. —Google Drive—
    6. Viber / WhatsApp <- more personal than development need
    7. Sublime / atom
  3. Install Dev Tools
    1. Xcode – this can take a v-e-r-y l-o-n-g time
    2. homebrew – check brew.sh for instruction
    3. git
      1. Xcode Developer Tools
    4. cocoapods
    5. vagrant
    6. virtualbox
    7. npm
    8. docker
    9. terraform
    10. kops
    11. kubectl
    12. kuber
    13. bundler – this needs to happen after RVM
      1. sudo gem install bundler
      2. cd ~/dev/GAR/chef-repo ; bundle install
    14. rvm with latest ruby (NOTE: ruby v2.3.1 seems to be a good one to stick to)
      1. curl -L https://get.rvm.io | bash -s stable –auto-dotfiles –autolibs=enable –ruby
      2. rvm install 2.3.1
    15. gem install librarian-chef
      1. librarian-chef install
      2. berks install
    16. chef DK
    17. Google Cloud Platform / Engine
    18. AWS CLI
      1. 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

  1. list available vagrant box – vagrant box list
  2. add vagrant image (if not already in the list above) – vagrant box add ; vagrant box add ubuntu/trusty64
  3. initialize a vagrant image – vagrant init
  4. bring up the vagrant box – vagrant up
  5. log / ssh into the vagrant box – vagrant ssh

rails

  1. sudo apt-get install gnupg2
  2. gpg2 –recv-keys 409B6B1796C275462A1703113804BB82D39DC0E3
  3. curl -sSL https://rvm.io/mpapis.asc | gpg –import –
  4. curl -L https://get.rvm.io | bash -s stable –rails
  5. source /home/vagrant/.rvm/scripts/rvm
  6. ruby –version
  7. rails –version
  8. sudo apt-get install git
  9. eval ssh-agent $SHELL

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out /  Change )

Google photo

You are commenting using your Google account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s