Skip to content

CitizensFoundation/open-active-democracy

 
 

Repository files navigation

Open Active Democracy has now been changed to Social Innovation - see https://github.com/rbjarnason/social_innovation It's the same codebase but has been cleaned up and a new simpler UI added.

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/":http://www.jimgilliam.com/

and

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

Installation

Ruby

First you'll want to install your own Ruby (if you haven't already). There are a few ways to do that. The rest of this guide assumes you use bash and RVM.

First you install RVM (Ruby Version Manager):

$ bash -s stable < <(curl -s https://raw.github.com/wayneeseguin/rvm/master/binscripts/rvm-installer)

Then reload your environment:

$ source ~/.bash_profile

Find out what dependencies are needed for Ruby (MRI) and install them:

$ rvm requirements

Install and use Ruby 1.9.3

$ rvm install 1.9.3
$ rvm use 1.9.3 --default

Install Bundler

$ gem install bundler

Set up open-active-democracy

$ git clone https://github.com/rbjarnason/open-active-democracy.git
$ cd open-active-democracy

Install all the dependencies

$ bundle install

Modify database.yml and fill in your MySQL database credentials

$ $EDITOR config/database.yml

Then create and seed the database

$ rake db:create
$ rake db:schema:load
$ rake tr8n:init
$ rake tr8n:import_and_setup_iso_3166
$ rake db:seed

Run open-active-democracy

Finally, start the rails server:

$ rails server

About

Open Active Democracy is now called Your Priorities. https://github.com/rbjarnason/your-priorities It's the same codebase but has been cleaned up and a new simpler UI added.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • JavaScript 72.0%
  • Ruby 28.0%