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

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

License

Notifications You must be signed in to change notification settings

openkratio/proyecto-colibri

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

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published