-
Notifications
You must be signed in to change notification settings - Fork 32
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.
This guide was made using an ubuntu 13.10 just installed.
Before the installation process is started a number of requirements is needed
- virtualenv
- virtualenvwrapper
- Git
- The requirements that sorl-thumbnail has
- 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 <full_path>.
- 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 syncdb
Update the tables with migrations
python manage.py migrate