adothompson / sense-ebola-followup

followup workflow for ebola contacts

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Sense-Ebola-Followup

Ebola patient contact tracing system.

Usage

  1. Install Chrome Node.js and Git
  2. npm install -g karma grunt-cli bower
  3. git clone https://github.com/eHealthAfrica/sense-ebola-followup.git
  4. cd sense-ebola-followup && npm install; bower install
  5. grunt serve
  6. Launch Chrome and browse to chrome://extensions
  7. Check "Developer Mode"
  8. Click "Load unpacked extension…" and select /path/to/sense-ebola-followup/app
  9. Under the "Sense EBola Followup" extension, click "Launch"

Testing

Use grunt test for the complete test suite. npm test is reserved for our continuous integration server (TravisCI).

Unit

Use grunt test:unit. During development, npm run-script test-watch is useful to automatically re-run the tests when a file changes.

e2e

  1. Install selenium (one-time only):

    ./node_modules/grunt-protractor-runner/node_modules/protractor/bin/webdriver-manager update
  2. grunt test:e2e

Author

© 2014 eHealth Systems Africa

About

followup workflow for ebola contacts