This script runs a server (to be accessed using netcat) to run an interactive poll. To use:
- Create a file
vote.yaml
that specifies the voting options. Seevote.yaml.sample
for an example, or the source code for a complete specification of what goes in the file. - Run
python3 voteserver.py PORT_NUMBER
- Connect using
nc
!
To control the server once it is running, use the commands specified in
voteserver.py
.