Skip to content
This repository was archived by the owner on Apr 11, 2025. It is now read-only.

Installation

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.

  1. You'll first need to install VirtualBox and Vagrant.

  2. 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.

  3. 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();

More information can be found here.

Issues

  • 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
    

    This plugin, http://kvz.io/blog/2013/01/16/vagrant-tip-keep-virtualbox-guest-additions-in-sync/ fixes the issue.

Clone this wiki locally