Skip to content
This repository has been archived by the owner on Jul 7, 2021. It is now read-only.
/ ezCare-server Public archive

A video conferencing service to facilitate interactions among elders

License

Notifications You must be signed in to change notification settings

imonology/ezCare-server

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Codeship Status for imonology/ezCare CircleCI

ezCare

Interactions for Elders (傳遞關懷, 傳承經驗, 傳播希望)

Install

Install node.js LTS (4.5.0)

sudo apt-get install nodejs

Install mongodb (server and client)

sudo apt-get install mongodb

Setup MongoDB admin account (change user / pwd to your own DB admin account and password)

You should change YOUR_DB_ADMIN_PASSWORD to your own passowrd.

mongo

for mongodb 2.4, use:

use admin
db.addUser("dbadmin", "YOUR_DB_ADMIN_PASSWORD");
quit();

for mongodb 3.0, use:

use admin
db.createUser(
  {
    user: "dbadmin",
    pwd: "YOUR_DB_ADMIN_PASSWORD",
    roles: [ { role: "userAdminAnyDatabase", db: "admin" } ]
  }
);
quit();

clone ezCare repo

git clone https://github.com/imonology/ezCare.git

configure local settings

DB_ADMIN password should be changed.

cp settings.js.example settings.js
vim settings.js

install required libs

npm install

start server

npm start