Upgrade to Pro — share decks privately, control downloads, hide ads and more …

va (Short intro to vagrant)

va (Short intro to vagrant)

In this 15 min. talk, the basics of vagrant are described. It gives an overview about what problems vagrant solves and how one can start using vagrant. It also describes a common pattern of how to develop with vagrant in place.

Sebastian

March 20, 2014
Tweet

More Decks by Sebastian

Other Decks in Programming

Transcript

  1. Configuration Vagrant.configure("2") do |config| config.vm.box = "Sgoettschkes/debian7" config.vm.network "private_network", ip:

    "10.61.6.2" config.vm.hostname = "debian" config.vm.synced_folder "../project", "/opt/project" config.vm.provision shell, inline: "sudo apt-get update" end
  2. A sample workflow Repository Vagrantfile Provisioning files … $ git

    clone [email protected]:vagrantLover/awesomeVm.git $ cd awesomeVm $ vagrant up # this may take a while $ vagrant ssh