Skip to content
This repository was archived by the owner on Nov 14, 2023. It is now read-only.
openkratioPublic archive

About

Las votaciones del Congreso de los Diputados de España (via API)

Resources

Stars

35 stars

Watchers

11 watching

Forks

Repository files navigation

Proyecto Colibrí

Build Status

Installing requirements

These instructions have been tested with Ubuntu 12.04.

Install required packages, including pip for managing dependencies:

$> apt-get install python-dev python-setuptools python-pip libffi-dev libssl-dev

$> apt-get install libgraphviz-dev

Install the listed requirements with:

$> pip install cryptography $> pip install -r requirements.txt

If you don't plan to use posgresql, feel free to edit requirements.txt and delete the line:

  • psycopg2==2.5

Run the project locally

Create the db:

$> python manage.py syncdb

Run the migration scripts:

$> python manage.py migrate

Add initial data:

$> python manage.py loaddata term/fixtures/initial.json

Get the data:

$> scrapy crawl members

$> scrapy crawl votes

$> scrapy crawl initiatives

Run the server:

$> python manage.py runserver 8080

Now browse http://localhost:8080 and you should find the colibri homepage :-)

Contribute

Feel free to contribute with the project.

About

Las votaciones del Congreso de los Diputados de España (via API)

Resources

Stars

35 stars

Watchers

11 watching

Forks

Releases

Packages

Used by

Contributors

Languages