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

Introduction à Vagrant

Introduction à Vagrant

Présenté au CARA Valence le 10 décembre 2012.

Greg Karékinian

December 10, 2012
Tweet

More Decks by Greg Karékinian

Other Decks in Programming

Transcript

  1. 1 # -*- mode: ruby -*- 2 # vi: set

    ft=ruby : 3 4 Vagrant::Config.run do |config| 5 config.vm.box = 'precise32' 6 config.vm.box_url = 'http://files.vagrantup.com/precise32.box' 7 8 config.ssh.forward_x11 = true 9 config.vm.share_folder('v-app', '/opt/app', './app') 10 11 config.vm.provision :shell, :path => 'test.sh' 12 end