Skip to content

emijrp/proyecto-colibri

master
Switch branches/tags
Code
This branch is 7 commits behind openkratio:master.
Contribute

Latest commit

 

Git stats

Files

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

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

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Python 43.9%
  • JavaScript 40.0%
  • HTML 8.5%
  • CSS 7.6%