Skip to content

Latest commit

 

History

History
50 lines (47 loc) · 1.02 KB

README.md

File metadata and controls

50 lines (47 loc) · 1.02 KB

Action Box Build Status

Instructions to deploy

These instructions have been validated for Ubuntu 14.04 LTS and Ubuntu 16.04 LTS distributions.

  • Update packages
sudo apt-get update
sudo apt-get upgrade
  • Install package dependencies
sudo apt-get install nodejs npm nodejs-legacy g++-4.8 mongodb git
  • Clone the 3403 Project github repository
git clone https://github.com/Prodge/3403-Project.git; cd 3403-Project/
  • Install dependencies
npm install

####That's it!

Running the server

Attatch the server to your current shell:

npm start
PORT=3001 npm start #specify a port

Run tests:

npm test

Run coverage:

npm run coverage

For running the server in the background, forever provides an easy solution:

sudo npm -g install forever
  • Start the server with forever:
sudo forever start start.js
  • Stop the server with forever:
sudo forever stop start.js