diff --git a/README.md b/README.md index 92c7cb2..57fcf2b 100644 --- a/README.md +++ b/README.md @@ -23,19 +23,3 @@ Our Vagrant setup provides two ways of running GestionEvenementiel: To query this instance from the host, you have to use the address `localhost:8080`. It is a good practice to ensure that this instance works before submitting a merge request (although it might break sometimes). - - -### About synced folders - -Due to a limitation related to the Debian boxes, VirtualBox synced folders -cannot be enabled. Vagrant uses `rsync` instead to upload the current folder -into the VM at `/vagrant`. But this only occurs once each time you run -`vagrant up` or `vagrant reload`. However you can ask Vagrant to automatically -resync when changes occur in the host with the `vagrant rsync-auto` command. -Please note that this is a **one-way** synchronization. - -For more information: - -- https://wiki.debian.org/Teams/Cloud/VagrantBaseBoxes#Shared_folders -- https://www.vagrantup.com/docs/synced-folders/rsync.html - diff --git a/Vagrantfile b/Vagrantfile index 715b1f9..b853e43 100644 --- a/Vagrantfile +++ b/Vagrantfile @@ -10,18 +10,13 @@ Vagrant.configure(2) do |config| # For a complete reference, please see the online documentation at # https://docs.vagrantup.com. - config.vm.box = "debian/stretch64" + config.vm.box = "debian/contrib-jessie64" # On associe le port 80 dans la machine virtuelle avec le port 8080 de notre # ordinateur, et le port 8000 avec le port 8000. config.vm.network :forwarded_port, guest: 80, host: 8080 config.vm.network :forwarded_port, guest: 8000, host: 8000 - # Override the synced folder configuration to prevent the secret file from - # being removed. - config.vm.synced_folder ".", "/vagrant", - rsync__exclude: [".git/", ".vagrant/", "evenementiel/settings/secret.py"] - # Create a private network, which allows host-only access to the machine # using a specific IP. # config.vm.network "private_network", ip: "192.168.33.10"