To properly run the web app you need to have MongoDB already installed in your System. The application assumes you are using the default MongoDB port 27017. In case you need to install MongoDB just follow the indications present in MongoDB installation
To obtain a local copy of the master:
git clone https://github.com/oteroleonardo/raphael-socket.io-express-mongoose.git
cd raphael-socket.io-express-mongoose
cd MarsMission
We first need to download project dependencies and then we'll be ready to start it:
npm update
node app.js
If you are like me you don't like to restart your node server each time there is a change in the source code and that's when nodemon comes to the rescue:
npm install nodemon -g
And then we could start the server as easy like sunday morning:
nodemon app.js [APP_PARAMS_HERE]