All Projects → CitizensFoundation → open-active-voting

CitizensFoundation / open-active-voting

Licence: other
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.

Programming Languages

javascript
184084 projects - #8 most used programming language
ruby
36898 projects - #4 most used programming language
HTML
75241 projects
typescript
32286 projects
Haml
164 projects
CSS
56736 projects

Open Active Voting

Simple ballot based voting system.

alt text

Live demo:

https://ktest2.betrireykjavik.is/

Setup guide:

https://docs.google.com/document/d/1M5mb-j_QaOPoB4twPe4lvXRrb1k0TmLKZxBCV5gdWuM

OAV Keys & Counting app is also needed

https://github.com/rbjarnason/oav-keys-and-counting

OAV Keys & Counting App setup guide:

https://docs.google.com/document/d/1llb6Li4KAs7pjiQEtaZnDGauBGdiplORe_eXQg1vKZw/

Installation

Install Ubuntu dependencies

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

Install Ruby 2.0

http://cache.ruby-lang.org/pub/ruby/2.1/ruby-2.1.5.tar.gz
tar -xvzf ruby-2.1.5.tar.gz
cd ruby...
make
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

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].