You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Alex Baker edited this page Mar 21, 2015
·
5 revisions
Vagrant
We're using a Ubuntu box w/ a MEAN stack pre-installed. This is a virtual machine that provides us all with the same environment that will serve us the files we're working on.
Clone the project repository onto your local machine in the desired location. You'll find a Vagrantfile in the root of the repository. From the root in Terminal (or similar), run vagrant up to install the virtual machine for the first time. This may take up to an hour the first time, as Vagrant needs to go out and install everything.
Once finished, you'll have a virtual machine running. Type vagrant ssh to tunnel into the virtual machine. Check to see if Node.js is installed by typing node -v. Do the same for MongoDB by typing mongo and then db.version();
After running vagrant up for the first time. If you encounter an error like this:
default: The guest additions on this VM do not match the installed version of
default: VirtualBox! In most cases this is fine, but in rare cases it can
default: prevent things such as shared folders from working properly. If you see
default: shared folder errors, please make sure the guest additions within the
default: virtual machine match the version of VirtualBox you have installed on
default: your host and reload your VM.
default:
default: Guest Additions Version: 4.2.0
default: VirtualBox Version: 4.3