Skip to content

A 2D platformer game and entire MEAN stack to present it.

Notifications You must be signed in to change notification settings

Prodge/3403-Project

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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