virtual-machinevirtualboxvagrantnupic

Exposing application's codebase to the vagrant instance


I'm trying to run an application using vagrant. I have a directory where the codebase of app is placed and the .vagrant dir that is created there after its initializing. It looks so:

[app_codebase_root]/.vagrant/machines/default/virtualbox

There is a some very short manual about what to do (https://github.com/numenta/nupic/wiki/Running-Nupic-in-a-Virtual-Machine) and I stopped at the point 9 where is said:

9) Expose [app] codebase to the vagrant instance... If you have the codebase checkout out, you can copy or move it into the current directory...

So it's not clear for me what to copy and where? Does it mean some place within vagrant (if yes, then which exactly?) or some another place? Or I should just make a command vagrant ssh now?


Solution

  • From the Vagrant documentation:

    By default, Vagrant will share your project directory (the directory with the Vagrantfile) to /vagrant.

    So you should find your codebase root should under /vagrant on your guest.