Votainteligente es el portal electoral de la Fundación Ciudadano Inteligente , lo estamos rehaciendo para que puedan utilizarlo en toda latinoamérica.
Python HTML CSS JavaScript Shell
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
backend_candidate
backend_citizen
backend_staff
elections
popular_proposal
preguntales
votai_general_theme
votainteligente
.coveragerc
.gitignore
.travis.yml
LICENSE
README.md
areas.yaml
candidator_example_data.yaml
coverage.sh
example_data.yaml
gulpfile.js
importer.py
load_photo_into_disk.py
manage.py
package.json
preguntas_media_naranja.yaml
requirements-amazon.txt
requirements.txt
start_local_candidator.bash
t.sh
test.sh
upgrade.sh
upgrade_data.sh
upgrade_ubuntu.sh

README.md

votainteligente-portal-electoral

Build Status Coverage Status

Votainteligente the electoral platform that Fundación Ciudadano Inteligente uses to transparent the electoral positions of different candidates to an election.

Installation

VotaInteligente depends on 3 parts candideit.org, popit and write-it. You might choose to use all of them or just part. In the following document it is described how to install.

Assumptions

This guide was made using an ubuntu 13.10 just installed.

Requirements

Before the installation process is started a number of requirements is needed

Installation process

  • Clone votainteligente somewhere in your system.

git clone https://github.com/ciudadanointeligente/votainteligente-portal-electoral.git

Enter the installation directory

cd votainteligente-portal-electoral

  • Create a virtual environment

mkvirtualenv votainteligente

Here you can optionally give the command the full path to the installation directory by adding -a .

  • If you didn't use the -a option you'll have to cd into the directory.

cd votainteligente-portal-electoral

  • Install the requirements that votainteligente needs in the current virtualenvironment

pip install -r requirements.txt

It might take some time to get all installed

  • Create the database and tables.

python manage.py migrate

  • Running VotaInteligente

python manage.py runserver

And hit http://localhost:8000/.

Theming

Previously created themes

Creating your own custom theme

If you want to create a new theme you have to create a directory containing two different subdirectories templates and static, and copy the templates that you want to replace.

And in your project in your local_settings.py file you have to add the following

 STATICFILES_DIRS = (
     '/full/path/to/your/theme/static/',
 )
 TEMPLATE_DIRS = (
     '/full/path/to/your/theme/templates/',
 )

Testing

You can run tests by doing:

$ ./test.sh

And there is a shortcut for testing without migrations:

$ ./t.sh

Localization

If you want to help us translate votainteligente please join our project in poeditor.com

Licensing

VotaInteligente is free and released as open source software covered by the terms of the GNU Public License (GPL v3)