palermo-hollywood / election-2013

Resultados de las Oct. 2013 Buenos Aires elecciones
palermo-hollywood.github.io/election-2013/
6 stars 2 forks source link

don't hate

Resultados de las Oct. 2013 Buenos Aires elecciones. Live at http://palermo-hollywood.github.io/election-2013/. Later appeared in a print edition of La Nacion as well as on its website.

Getting started

Create a virtualenv to store all the code in a nice tupperware container.

$ virtualenv election-2013

Jump into it.

$ cd election-2013
$ . bin/activate

Clone the repository.

$ git clone git@github.com:palermo-hollywood/election-2013.git repo

Jump into it.

$ cd repo

Install the other Python dependencies.

$ pip install -r requirements

Fire up the Flask server that hosts our development pages.

$ python app.py
# Visit http://localhost:8000 in your browser and check it out.

To flatten the Flask site so it can be hosted without a server as static files.

# This will update the files in the ./build directory
$ python freeze.py

Who to blame

don't hate

This code was developed at Data Fest 2013 in Buenos Aires by Team Palermo Hollywood.