Skip to content

NRGI/rgi-assessment-tool

Repository files navigation

RGI Assessment Tool

Run Status Coverage Badge Dependancy Badge

##Summary


This tool is a custom webapp build on Node.js, Express and Angular. It is connected on the back-end to to a MongoDB instance.

The tool allows researchers to complete RGI assessments, reviewers to review assessments and administrators to validate and authorize assessments.

##Dependencies

  • Node.js

##Installation


Method 1: Open terminal and run the following commands:

	git clone 
	cd
	npm install
	npm install -g bower grunt
	bower install
	grunt build

Method 2: Install docker. From command line run:

	docker pull byndcivilization/rgi-assessment-tool
	docker run byndcivilization/rgi-assessment-tool -e "USER_ID=<db user name>"" -e "USER_KEY=<db pass>""

	docker run -d=true -p 49160:3030 -e "USER_ID=<db user name>" -e "USER_KEY=<db pass>" byndcivilization/rgi-assessment-tool

##Launch

	node server

##Tests

###Unit Tests ####Client

$ grunt test:client

####Server

$ grunt test:server

###E2E Tests ####Install

$ npm run-script webdriver-manager-update

####Run

$ grunt test-server
$ NODE_ENV=test node server.js
$ grunt test:e2e

##TODO


  • country of residence no address
  • validation is for admin - make its own page
  • submit always goes to admin
  • email passwords and submit
  • file uplaoad