Closed charlesthomas closed 3 years ago
+1
I don't see in Vagrantfile where do you share the represent-map source code in vagrant VM. It's a forget ?
@harobed that happens automatically with Vagrant. The repo's root directory is mounted in the Vagrant VM as /vagrant. So represent-map/README.md in the git repo is /vagrant/README.md on the VM.
Are you sure ? Because I need to declare some thing like config.vm.synced_folder... (http://docs.vagrantup.com/v2/synced-folders/basic_usage.html)
@harobed Using Debian-based Linux host OS, I don't have to do this. Are you using a different host OS (OS X or Windows)? Maybe that doesn't work in whatever OS you're using.
I don't understand, that don't work on Debian neither OSX.
Maybe it's a version issue? I'm using Vagrant version 1.2.2
What happened the first time you did vagrant up
? Did the setup_vm.sh script run at all? Because if it did, then the mount is happening as I expected. Are you also expecting the code to be somewhere else? For example, by default the code would need to be in /etc/apache2 somewhere, but I changed that with the way the apache config is handled in the setup_vm.sh script (or at least I thought I did; maybe I missed something in the script that I did manually).
Once you've done vagrant ssh
what happens when you do ls /vagrant
?
Instructions on how to use RepresentMap with Vagrant were added to the README.