This web server component provides a web interface to a connected smartcard.
sudo add-apt-repository ppa:deadsnakes/ppa
sudo make install
make build
Install dependencies you need
make install-dev-dependencies
and then run the tests
make test
With code coverage
make coverage
make run
Once you're running the server, you can enable a mock card reader with fixture data as in the examples below. Check out the fixtures/
directory for what mock cards are available.
./mockCardReader.py enable --fixture fixtures/voter
./mockCardReader.py enable --fixture fixtures/pollworker
./mockCardReader.py enable --fixture fixtures/clerk