Bussiness Process Management
$ cd path-to-your/www
$ npm install
$ cd path-to-your/www/public
$ bower install
create file mongo.js at "www/config/" path, with value
module.exports = {
connection : {
username : "your-remote-username", //delete this line if your mongo haven't required username
password : "your-remote-password", //delete this line if your mongo haven't required password
host : "localhost",
port : 27017
},
database : {
name : "databasename",
username : "database-username", //delete this line if your database haven't required username
password : "database-password" //delete this line if your database haven't required password
}
};
for cluster
$ cd path-to-your/www
$ npm start