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

Latest commit

 

History

History
56 lines (32 loc) · 1.15 KB

README.md

File metadata and controls

56 lines (32 loc) · 1.15 KB

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.