brmlab election/voting tools
Find a file
2014-10-11 22:51:12 +02:00
gen-ballot.pl Initial version, with gen-ballot.pl 2014-10-08 21:28:38 +02:00
names-sample.txt Initial version, with gen-ballot.pl 2014-10-08 21:28:38 +02:00
README.md web-ballot.pl: New script 2014-10-08 22:51:33 +02:00
web-ballot.pl web-ballot.pl: Blurb 2014-10-11 22:51:12 +02:00

Generating Ballots

./gen-ballot.pl 15 <names-sample.txt

Web Ballot CGI Script

Put names-sample.txt and tokens.txt to the same directory as web-ballot.pl and make that directory available for CGI script execution. If this directory is accessible over web, don't forget to remove read permissions for all but the owner.

It should just work; you may need to adjust the votes.txt path currently hardcoded in web-ballot.pl, where the cast votes are recorded.