ciudadanointeligente / partidopublico

Transparencia en partidos políticos.
8 stars 3 forks source link

Deploy to Heroku

Build Status Code Climate Coverage Status

partidopublico

is a ruby on rails app for achieving transparency of political parties, funded by UNDEF papu_rails is developed by Fundación Ciudadano Inteligente in collaboration with Chile Transparente.

developed in a linux ruby postgresql environment, see Gemfile for additional requirements

To setup an environment for running the papu_rails app following steps are needed:

Installation

RVM

First you need to have RVM installed in your machine.

Bundler

Then you need to have installed bundler.

gem install bundler

The rest of the gems

bundle install

Testing

We have found that it is the safest to test against PostgreSQL, so the first thing you need to do is get postgres running.

Our default testing configurations is as follow:

host: 127.0.0.1
user: postgres
password: a
database_name: papu_test
psql -c 'create database papu_test;' -U postgres --host=127.0.0.1 --password