Skip to content

extrememicro/hopodemtot

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

![decidim.barcelona logo] (https://raw.githubusercontent.com/AjuntamentdeBarcelona/decidimbcn/master/app/assets/images/decidim-logo.png)

decidim.barcelona

Citizen Participation and Open Government Application

Circle CI Coverage Status Code Climate Dependency Status Deploy

This is the opensource code repository for "decidim.barcelona", based on Consul, developed by the Madrid City government.

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 environment using Docker

Docker is the recommended development environment as it guarantees library parity, as well as a predictable an easy to set up development environment.

docker-compose build
docker-compose run --rm app db:create           
docker-compose run --rm app db:setup SEED=true
docker-compose up

Configuration for development and test environments

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

git clone https://github.com/AjuntamentdeBarcelona/decidimbcn.git
cd decidimbcn
bundle install
cp config/database.yml.example config/database.yml
cp config/secrets.yml.example config/secrets.yml
rake db:create
bin/rake db:setup
bin/rake db:dev_seed
RAILS_ENV=test bin/rake db:setup

Run the app locally:

bin/rails s

Prerequisites for testing: install PhantomJS >= 2.0

Run the tests with:

bin/rspec

Licence

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

Contributions

See CONTRIBUTING.md

Code of conduct

See CODE_OF_CONDUCT.md

About

E-Participation Web Software

Resources

License

Code of conduct

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Ruby 57.8%
  • HTML 20.5%
  • CSS 11.9%
  • JavaScript 8.9%
  • CoffeeScript 0.9%