/vagrant-demo

Simple demo to show the power of Vagrant

Primary LanguageJavaScript

Vagrant Demo

Build Status Coverage Status

In this demo, I will demostrate the power of Vagrant.

I will be using ubuntu/trusty64 as my starting Vagrant Box, then install NVM and latest stable Node.js.

I've also set up a sharing folder called code that contains our project files. So we can edit them on our host machine!

Setup

$ vagrant up
$ vagrant ssh

By here, you're in your virtual Ubuntu server! With Node.js installed!

Let's run our server!

$ cd code
$ npm install
$ npm start

Testing

A good code should pass all tests. To run the tests:

$ npm test

That's It!

It's that simple!