Interactions for Elders (傳遞關懷, 傳承經驗, 傳播希望)
sudo apt-get install nodejs
sudo apt-get install mongodb
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();
git clone https://github.com/imonology/ezCare.git
DB_ADMIN password should be changed.
cp settings.js.example settings.js
vim settings.js
npm install
npm start