Skip to content
This repository has been archived by the owner on Nov 11, 2022. It is now read-only.

zuzak/scrutineer

Repository files navigation

scrutineer

Build Status Code Coverage

Scrutinizer Code Quality Codacy Badge JavaScript Style Guide Gate LoC

Heroku

Screenshots

Screenshot of Questionnaire Screenshot of Council detail Screenshot of Station detail Screenshot of account creations Screenshot of information disclosure/profile page Screenshot of observer verification page

Setup

Requirements

  • MongoDB (defaults to mongodb://localhost/scrutineer: override it with the MONGODB_URI environment variable)

By default we synchronise with upstream data sources. Set the NO_SYNC environment variable (to something) to disable this.

Install

To get this running, install MongoDB, clone this repository, and then run:

$ npm install
$ npm start

If, on your second or later run, you wish to skip the initialisation with upstream sources, you should run:

$ NO_SYNC=1 npm start

Tests

To run the Selenium tests you must have a Selenium server running. On a Mac:

$ brew install selenium-server-standalone