Skip to content

Open Data platform for the fonacide project in Paraguay

License

Notifications You must be signed in to change notification settings

SENATICS/openfonacide

 
 

Repository files navigation

OpenFonacide - Contralor de Fonacide

Build Status Code Climate LGPLv3 Join the chat at https://gitter.im/nemesiscodex/openfonacide

http:https://mecmapi-nemesiscodex.rhcloud.com/

En Desarrollo con el apoyo del Programa de Democracia y Gobernabilidad (USAID-CEAMSO)

Requerimientos

  • Python 2.7+

Instalacion

  1. Clonar el repositorio

    git clone https://github.com/nemesiscodex/openfonacide.git
    cd openfonacide
  2. Crear un virtual environment

    sudo apt-get install python-virtualenv # <-- Instala virtualenv
    virtualenv -p /usr/bin/python2.7 venv # Crea el virtualenv
    source venv/bin/activate # Activa el virtualenv
  3. Instala librerias necesarias para conectarse a la base de datos

    sudo apt-get install libpq-dev python-dev
  4. Instala librerias de python con pip

    pip install -r requirements.txt
  5. Instala y configura postgres

    sudo apt-get install postgresql postgresql-contrib # Instalamos postgres
    sudo -i -u postgres # Entramos como usuario postgres
    createuser -P --interactive fonacide # Creamos un usuario(rol). Obs: en password pon "12345" 
    createdb openfonacide -O fonacide # Creamos la base de datos openfonacide para el usuario fonacide
    exit # volvemos atras
  6. Sincronizamos la base de datos e iniciamos el servidor

    python manage.py syncdb # Crea las tablas necesarias
    python manage.py runserver # Inicia el servidor en http:https://localhost:8000/

Screenshots

screenshot00

screenshot01

screenshot02

About

Open Data platform for the fonacide project in Paraguay

Resources

License

Stars

Watchers

Forks

Packages

 
 
 

Languages

  • JavaScript 44.5%
  • CSS 37.8%
  • HTML 8.9%
  • Python 8.7%
  • Other 0.1%