Skip to content

Backend para el servicio web para la validación de datos basados en Interlis para Colombia.

Notifications You must be signed in to change notification settings

SwissTierrasColombia/django-ili-services

Repository files navigation

django-ili-services

Clone repository

git clone --recurse-submodules https://github.com/swisstierrascolombia/django-ili-services.git

Create an environment

python3 -m venv .venv

Activate the environment

source .venv/bin/activate

Install dependences

pip install -r ./requirements.txt

Install external dependences

pip install -r ./ili_checker_app/submodules/requirements.txt

Create environments

Crear un archivo .env con las mismas varibales que estan definidas en el archivo de ejemplo .env.example

NAME_SU="Nombre super usuario"
EMAIL_SU="Correo del super usuario"
PASSWORD_SU="clave de acceso del super usuario"

# Actualizar según corresponda.
ILISERVICES_DB_NAME=iliservices
ILISERVICES_DB_USER=postgres
ILISERVICES_DB_PASS=admin
ILISERVICES_DB_PORT=5432
ILISERVICES_DB_HOST=localhost

Run server local

Ubicarse en la ruta princial y ejecutar lo siguiente:

python manage.py migrate
python manage.py collectstatic
python create_users.py
python manage.py runserver

Developers

Este proyecto depende de submodulos, por lo tanto si estas trabajando en modo local deberas ejecutar los siguientes comandos para iniciar los submodulos y descargar las ultimas actualizaciones de las dependencias.

git submodule init
git submodule update --remote --recursive

About

Backend para el servicio web para la validación de datos basados en Interlis para Colombia.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published