OneGov ballot results website used on election day.
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
docs
license
onegov
.bumpversion.cfg
.coveragerc
.gitignore
.travis.yml
HISTORY.rst
MANIFEST.in
README.rst
package.json
setup.py
tox.ini

README.rst

Onegov Election Day

OneGov ballot results website used on election day.

Run the Tests

Install tox and run it:

pip install tox
tox

Limit the tests to a specific python version:

tox -e py27

Install jest and run it:

npm install
npm t

To update the snapshots, run:

npm t -- -u

Conventions

Onegov Election Day follows PEP8 as close as possible. To test for it run:

tox -e pep8

Onegov Election Day uses Semantic Versioning

Media Generation

A Renderer (which renders the D3 scripts) is needed to generate the PDFs and SVGs.

Specify the address of the running server in the YAML, e.g.:

d3-renderer: 'http://localhost:1337'

And generate the PDFs or SVGs using the CLI:

onegov-election-day --select /onegov_election_day/* generate-media

Build Status

Build Status

Coverage

Project Coverage

Latests PyPI Release

Latest PyPI Release

License

onegov.election_day is released under GPLv2