Welbeing activity log and visualization tool.
As a volunteer,
I want to know what activities residents enjoy
so that I can spend quality time with the residents
As a family member
I want to know that my relative is active
so that I know they are living an enjoyable life
npm run dev
.For running app in dev mode, there is a process to generate dummy data and user accounts.
To create the dummy data open the meteor shell and run Meteor.call("createMockData")
. This method call will generate data that can be used fr testing and development.
To be able to use the app, a user account is needed. This can be created in the following way:
app/lib/accounts.js
and in the configurations set forbidClientAccountCreation
to false
.rm -rf node_modules package-lock
npm i
meteor update
meteor update --all-packages
~/.meteor/packages/meteor-tool/1.8.1/mt-os.linux.x86_64/dev_bundle/mongodb/bin/mongod --dbpath .meteor/local/db --repair
if necessary run meteor reset
. Warning: This will clear all collections and user accounts.
npm run dev
npm run test
This command will start a server on port 8000. It is better to run npm i
if the tests are run for the first time.
Server code must be tested on server using Meteor.isServer
flag. Code running in the if
constructs of Meteor.isServer
will show results on the console. For the others, Meteor.isClient
must be used and they can be evaluated in the browser on http://localhost:8000
.
Coverage can be found at http://localhost:8000/coverage
on the browser. This will show the coverage for server files.
Please note that the server for tests is started in watch mode so that client tests can be evaluated on the browser. These tests take 2 runs to get the correct results due to some issues with the underlying babel nyc module. Here's what can be done:
listening on localhost:8000
, change any file and save it.sudo chmod +x start-demo.sh
sudo chown -Rh shailee .meteor/local
sudo crontab -e
0 0 * * * cd /path/to/sh-file && /bin/sh start-demo.sh >> cron.log 2>&1
.Thanks goes to these wonderful people (emoji key):
Shailee Mehta 💻 | PayalChoksey17 🐛 |
This project follows the all-contributors specification. Contributions of any kind welcome!