/open-active-democracy

Open Active Democracy is a web based platform that enables groups of people to define their democratic priorities and together discover which are the most important ideas to implement by their governments. People can add new ideas, add arguments for and against priorities, indicate if they support or oppose an idea, create a personal list of priorities and discuss all priorities. The end results are lists of top priorities in many categories as well as the best arguments for and against each priority.

Primary LanguageJavaScript

Open Active Democracy is a web based platform that enables groups of people to define their democratic priorities and together discover which are the most important ideas to implement by their governments. People can add new ideas, add arguments for and against priorities, indicate if they support or oppose an idea, create a personal list of priorities and discuss all priorities. The end results are lists of top priorities in many categories as well as the best arguments for and against each priority. This service enables people to make up their minds about most issues in a short time.

Open Active Democracy (Opna lýðræðiskerfið) is a merge between:

NationBuilder by Jim Gilliam
http://www.jimgilliam.com/

and

Open Direct Democracy by Róbert Viðar Bjarnason and Gunnar Grimsson
http://github.com/rbjarnason/open-direct-democracy

Here are quick installation instructions for the new version that uses Rails 3.0.4 and Ruby 1.9.2

#First install RVM:

bash < <( curl http://rvm.beginrescueend.com/releases/rvm-install-head )

#Then add this to your .bashrc

[[ -s “$HOME/.rvm/scripts/rvm” ]] && . “$HOME/.rvm/scripts/rvm” # This loads RVM into a shell session.

#Restart your shell and do:
rvm install 1.9.2

#then
rvm use 1.9.2
rvm —default use 1.9.2

#and
gem install bundler

  1. then (if you have created a fork at github under your name)

git clone git@github.com:yourname/open-active-democracy.git

cd open-active-democracy

bundle install

  1. then fixup database.yml with your local mysql root password
  2. also fix newrelic.yml from newrelic.yml.dist
  3. and fix facebooker.yml from facebooker.yml.dist

rake db:create
rake db:schema:load
rake db:seed

  1. To setup the translation software
    rake tr8n:init
    rake tr8n:import_db
    rake tr8n:import_and_setup_iso_3166
    rake utils:create_partners_from_iso

Finally to start the rails server:
rails s