/devEnv

Vagrant Dev Environment

Primary LanguageRubyMIT LicenseMIT

devEnv-cookbook

Sets up and configures a basic development environment

Installs:

Configures:

  • default shell: zsh
  • oh-my-zsh
  • solarized-dircolors
  • dotfiles from github default: oconnormi/dotfiles

Other:

  • Shares ~/.m2 with vm
  • Shares ~/workspace with vm

Supported Platforms

  • Debian
  • Fedora

Attributes

Key Type Description Default
['devEnv']['dotfiles_repo'] String Url to a dotfiles git repository https://github.com/oconnormi/dotfiles
['devEnv']['dotfiles_script'] String path to script to install dotfiles scripts/bootstrap

Usage

Vagrant

Assuming the requirements are met simply run vagrant up once the system is configured it will be accessible via vagrant ssh

Requirements:

Optional:

  • System
    • x11 * for x11 forwarded applications
  • Vagrant Plugins

Mac OSX Notes

To install the system requirements it is recommended that homebrew cask is used

brew cask install virtualbox

brew cask install vagrant

brew cask install chefdk

*Nix Notes

Either use your native package manager or check out linuxbrew, a fork of homebrew for linux. This does not have a homebrew cask equivalent yet, but works great for packages that may not exist in your distro's native package management repositories

Windows Notes

For windows chocolatey is recommended for package installation

choco install virtualbox

choco install vagrant

choco install chefdk

choco install xming

Chef

Include devEnv in your node's run_list:

{
  "run_list": [
    "recipe[devEnv::default]"
  ]
}

License and Authors

Author:: Michael O'Connor (oconnor.michael.stephen@gmail.com)