Skip to content
Branch: master
Go to file
Code
This branch is 7 commits behind openkratio:master.

Latest commit

Files

Permalink
Failed to load latest commit information.
Type
Name
Latest commit message
Commit time
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

README.md

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

$> apt-get install libgraphviz-dev

Install the listed requirements with:

$> 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:

Insert a line in term table for the 1st term: 1, X, 10, 11/20/2011, 11/20/2015. For that, you can use SQLite Manager or insert from console (python manage.py shell).

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

Codigo fuente del Proyecto Colibri

Resources

Releases

No releases published
You can’t perform that action at this time.