Skip to content

Latest commit

 

History

History
42 lines (24 loc) · 1.04 KB

README.rdoc

File metadata and controls

42 lines (24 loc) · 1.04 KB

Espelho Político

<img src=“https://codeclimate.com/github/EspelhoPolitico/espelho-politico/badges/gpa.svg” alt=“Code Climate” />

Description

Project to help Brazilian voters find the parliamentarians who share the same ideas

Dependencies

  • PostgreSQL Dev

  • Ruby (2.3.0)

    • To install it, we recommend the Ruby Version Manager - RVM. You can follow the steps here

  • Rails (4.1.5)

Setup

Configuring the Development Environment

$ gem install bundler

$ bundle install

$ rake config:development_environment

Fetching data from Camara Legislativa

Run this task at least once. If you wanna keep your database updated run this task with regularity.

With default values
$ rake db:fetch_data
With customization
$ rake 'db:fetch_data[<database_name>, <database_role>, <role_password>]'
Parameter

Default value

database_name

ep_dev

database_role

$USER

database_password

<no password>