-
Notifications
You must be signed in to change notification settings - Fork 2
Installation
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.
-
You'll first need to install VirtualBox and Vagrant.
-
Clone the project repository onto your local machine in the desired location. You'll find a
Vagrantfilein the root of the repository. From the root in Terminal (or similar), runvagrant upto 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 sshto tunnel into the virtual machine. Check to see if Node.js is installed by typingnode -v. Do the same for MongoDB by typingmongoand thendb.version();
More information can be found here.
-
After running
vagrant upfor 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.3This plugin, http://kvz.io/blog/2013/01/16/vagrant-tip-keep-virtualbox-guest-additions-in-sync/ fixes the issue.