Consul - Open Government and E-Participation Web Software
Ruby HTML CSS Other
Failed to load latest commit information.
app adds missing budget_id parameter Jan 19, 2017
bin updates binstubs for rails 4 Sep 15, 2016
config improves styles for unfeasible investments Jan 16, 2017
db Merge branch 'master' into budget-emails Jan 15, 2017
doc updates ruby version in configuration instructions Nov 25, 2016
lib Merge branch 'master' into budgets Dec 27, 2016
log initial commit Jul 15, 2015
public updates image url for error pages Oct 4, 2016
spec adds specs for many tags in a budget investment Jan 19, 2017
vendor/assets adds js for input type=number to IE<9 Mar 8, 2016
.coveralls.yml integrates coveralls with travis Aug 5, 2015
.gitignore include public/sitemap to gitignore Dec 2, 2016
.rspec do not include foobar in rspec by default Aug 28, 2015
.rubocop.yml adds .rubocop.yml + .rubocop_todo.yml Nov 25, 2016
.rubocop_todo.yml adds .rubocop.yml + .rubocop_todo.yml Nov 25, 2016
.ruby-version upgrade to ruby 2.3.2 Nov 19, 2016
.travis.yml updates travis script and matrix Jan 17, 2017 adds code of conduct Aug 18, 2015 typo Oct 21, 2015 updates contributing Nov 15, 2016 updates contributing Nov 15, 2016 Add custom setting for foundation variables. Jan 13, 2017
Capfile configures up to date capistrano rvm gem Nov 21, 2016
Gemfile updates dependencies Jan 5, 2017
Gemfile.lock Merge pull request #1334 from consul/budgets Jan 10, 2017
Gemfile_custom Custom folder structure: initial documentation, code and structure fo… May 31, 2016
LICENSE-AGPLv3.txt changes license to Affero GPL version 3 Aug 12, 2015 aligns gitter badge with other badges Dec 12, 2016 adds gitter badge to spanish readme Dec 12, 2016
Rakefile tries to speed up build with knapsack Nov 19, 2016 initial commit Jul 15, 2015
knapsack_rspec_report.json adds new knapsack spec report Jan 17, 2017

Logo of Consul


Citizen Participation and Open Government Application

Join the chat at Build Status Code Climate Dependency Status Coverage Status

This is the opensource code repository of the eParticipation website originally developed for the Madrid City government eParticipation website

Current state

Development started on 2015 July 15th. Code was deployed to production on 2015 september 7th to Since then new features are added often. You can take a look at the current features in the docs and future features in the open issues list.

Tech stack

The application backend is written in the Ruby language using the Ruby on Rails framework.

Frontend tools used include SCSS over Foundation for the styles.

Configuration for development and test environments

NOTE: For more detailed instructions check the docs

Prerequisites: install git, Ruby 2.3.2, bundler gem, ghostscript and PostgreSQL (>=9.4).

git clone
cd consul
bundle install
cp config/database.yml.example config/database.yml
cp config/secrets.yml.example config/secrets.yml
bin/rake db:setup
bin/rake db:dev_seed
RAILS_ENV=test rake db:setup

Run the app locally:

bin/rails s

Prerequisites for testing: install PhantomJS >= 1.9.8

Run the tests with:


You can use the default admin user from the seeds file:

user: pass: 12345678

But for some actions like voting, you will need a verified user, the seeds file also includes one:

user: pass: 12345678




To test authentication services with external OAuth suppliers - right now Twitter, Facebook and Google - you'll need to create an "application" in each of the supported platforms and set the key and secret provided in your secrets.yml

In the case of Google, verify that the APIs Contacts API and Google+ API are enabled for the application.


Code published under AFFERO GPL v3 (see LICENSE-AGPLv3.txt)