No description, website, or topics provided.
Switch branches/tags
Clone or download
Pull request Compare This branch is even with nihavi:master.
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
admin
bower_components
css
.gitignore
CRE.sql
README.md
config-sample.php
index.php
stv.cpp
template.php
vote.php

README.md

A simple portal for onsite elections

Why use paper when you have a computer?

Setup

  1. Create mysql database.
  2. Run CRE.sql to setup database.
  3. Copy config-sample.php to config.php and update with required settings.

Features

  • Simple, easy-to-use interface for voters.
  • Again, simple, easy-to-use interface for admins.
  • Can be configured to allow voting for multiple candidates (For example, you have to vote for exactly 2 candidates).
  • Can be configured to allow negative votes (They are always optional).
  • Allow access only from designated clients.
  • Multiple client support.
  • Admin has to allow each and every vote from each client to prevent from abuse.

Note

The default admin password is password

To change password, change value of admin_pass to sha1('yourpassword') in meta table. (You have to be a real admin to do this :P)