SEL-Columbia / mopup-matcher

mopup-manager revamp
1 stars 0 forks source link

Nigeria Baseline Mopup Assistant

This tool is designed to assist the data clean up effort for the Nigeria TAs.

Deployment

Mongo should be running, with the appropriate data (in the right data structure). @modilabs team members should have a dump as necessary.

Otherwise, install node (http://nodejs.org), and then:

git clone [URL]
cd mopup-seed
npm install
node .

This will run the mopup app on port 3000. You can also use node server.js. Then, browse to something like:

http://localhost:3000/500/health 

You can replace the 500 with another lga_id.

Development

The app uses SASS (SCSS) so the css is compiled. It is recommended to install Compass and issue compass watch from the project root to compile to css.

To run the tests

Start the application's server on port 3000 (the default) then run the end to end tests

(if you are using linux and chromium, you need to set up the environment variable)

$ export CHROME_BIN='/usr/bin/chromium'

and then, do:

$ karma start test/config/e2e.conf.js