User centered medical supply management
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
app
config
scripts
tasks
test
.agignore
.bowerrc
.editorconfig
.eslintrc
.gitattributes
.gitignore
.jsbeautifyrc
.jscsrc
.jshintrc
.travis.yml
.vimrc
CONTRIBUTING.md
Gruntfile.js
README.md
bower.json
karma.conf.js
package.json
protractor.conf.js

README.md

LMIS-Chrome

Build Status devDependency Status Coverage Status Code Climate

User centered medical supply management

Usage

  1. Install Chrome Node.js and Git
  2. npm install -g karma grunt-cli bower
  3. git clone https://github.com/eHealthAfrica/LMIS-Chrome.git
  4. cd LMIS-Chrome && 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/LMIS-Chrome/app
  9. Under the "LMIS Chrome" 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