Secure electronic voting app used for online participatory budgeting projects giving citizens direct influence over parts of governments budget, educates citizens on the cost of things and budgetary limits.
Clone or download
Latest commit 2ca9201 Sep 16, 2018
Type Name Latest commit message Commit time
Failed to load latest commit information.
app Various Sep 16, 2018
bin Upgrading to an app Jul 21, 2016
config Fixes Sep 3, 2018
db Various Sep 16, 2018
lib Various Sep 16, 2018
log initial import Jan 23, 2012
public Various Sep 13, 2018
test Updated test Oct 28, 2016
vendor/assets Upgrading to an app Jul 21, 2016
.gitignore Allow counting models for testing as symbolic links Sep 17, 2017
Gemfile Fix unsecure dependencies Sep 8, 2018
Gemfile.lock Fix unsecure dependencies Sep 8, 2018
GlobalSignRootCA.pem Added root cert for rubygems Oct 23, 2016
Procfile Use Passenger on Heroku Jan 29, 2014 Update Aug 29, 2018
Rakefile Upgrading to an app Jul 21, 2016
agpl-3.0.txt Merge from dev Mar 26, 2012 Upgrading to an app Jul 21, 2016 Adding count all Aug 22, 2016
package.json New dist Sep 9, 2018

Open Active Voting

Simple ballot based voting system.

alt text

Live demo:

Setup guide:

OAV Keys & Counting app is also needed

OAV Keys & Counting App setup guide:


Install Ubuntu dependencies

sudo apt-get -yqq install curl git build-essential libxslt-dev libxml2-dev libmysqlclient-dev mysql-server

Install Ruby 2.0
tar -xvzf ruby-2.1.5.tar.gz
cd ruby...
sudo make install

Install bundler and dependencies

gem install bundler
cd open-active-voting
bundle install

Setup the database (edit config file)

cd config
vi database.yml
# Edit database.yml to point to your MySQL server
cd ..
rake db:create
rake db:schema:load
rake db:seed

Running the test server

rails server -e test

In a new terminal Running the tests

cd open-active-voting
bundle exec rake test:integration

Browsing the test system

Open http://localhost:3000/ in your browser