Skip to content

Instantly share code, notes, and snippets.

@lolptdr
Created December 2, 2014 16:00
Show Gist options
  • Save lolptdr/692f92da3a63c6f5af02 to your computer and use it in GitHub Desktop.
Save lolptdr/692f92da3a63c6f5af02 to your computer and use it in GitHub Desktop.
Environment setup

Install your client-side programs:

Install the dev stuff

Install Homebrew following the steps at the Homebrew homepage, then run brew update. If you already have Homebrew installed, just run brew update. If there are any problems, run brew doctor and address the listed problems. Ask an instructor if you're stuck.

Use Homebrew to install git, zsh, imagemagick and the_silver_searcher:

brew install git
brew install zsh
brew install imagemagick
brew install the_silver_searcher

Run our shell script using:

ruby -e "$(curl -sS https://raw.githubusercontent.com/makersquare/osx-dotfiles/master/dotfiles.rb)"

This will set up your environment settings properly.

Set up your virtual machine

  1. Navigate to ~/code/mks in the terminal.
  2. Open Vagrantfile in Sublime Text.
  3. Replace the URL on line 3 with config.vm.box_url = './mks4.box'.
  4. Save and close the Vagrantfile.
  5. Run the command vagrant up from within the same directory.
  6. Once download, extraction and VM boot are complete, run vagrant ssh to connect to the VM.
  7. Test everything worked correctly by checking to make sure ~/code/mks on the VM has the same file contents as the local machine and that ruby -v returns ruby 2.0.0p481
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment