This is a voting website for the nation of Finland on EarthMC. It employs the Instant-runoff voting system, which is a ranked-choice voting system, which eliminates candidates in rounds and distributes their votes to the other candidates, for calculating the results of the election.
The site is not currently live at vote.cumzon.ee, but will return someday.
- Install the required libraries
- Add candidate names to settings.json in the correct json format (see example settings.json)
- Set the opening and closing times in settings.json in the correct json format (yet again, see example settings.json). The timestamps are in Unix time (seconds since the epoch). Here's a useful tool for generating these timestamps
- If running/testing locally run application.py, otherwise run waitress_server.py or run cli.py and execute the command "start"
- Currently only supports HTTP, HTTPS support is planned in the future
- The code is written in a hurry in about 2.5 days and may have a lot of bugs. If problems occur, please open an issue here
- Most likely won't run on Linux on port 80 without sudo perms
Frontend by Jevk
Backend by Emerald