Skip to content

udistrital/resoluciones_docentes_crud

Repository files navigation

resoluciones_docentes_crud

El API provee la gestion de las diferentes procesos que requiere el sistema de resoluciones

Especificaciones Técnicas

Tecnologías Implementadas y Versiones

Variables de Entorno

# parametros de api
RESOLUCIONES_CRUD_HTTP_PORT=[Puerto de exposición del API]
# paramametros de bd
RESOLUCIONES_CRUD_PGUSER=[Usuario de BD]
RESOLUCIONES_CRUD_PGPASS=[Contraseña del usaurio de BD]
RESOLUCIONES_CRUD_PGHOST=[URL, Dominio o EndPoint de la BD]
RESOLUCIONES_CRUD_PGPORT=[Puerto de la BD]
RESOLUCIONES_CRUD_PGDB=[Nombre de Base de Datos]
RESOLUCIONES_CRUD_PGSCHEMA=[Nombre del Esquema de Base de Datos]

NOTA: Las variables se pueden ver en el fichero conf/app.conf y están identificadas con RESOLUCIONES_CRUD...

Ejecución del Proyecto

#1. Obtener el repositorio con Go
go get github.com/udistrital/resoluciones_docentes_crud

#2. Moverse a la carpeta del repositorio
cd $GOPATH/src/github.com/udistrital/resoluciones_docentes_crud

# 3. Moverse a la rama **develop**
git pull origin develop && git checkout develop

# 4. alimentar todas las variables de entorno que utiliza el proyecto.
RESOLUCIONES_CRUD_HTTP_PORT=8080 RESOLUCIONES_CRUD_SOME_VARIABLE bee run

Ejecución Dockerfile

# Implementado para despliegue del Sistema de integración continua CI.

Ejecución docker-compose

#1. Clonar el repositorio
git clone -b develop https://github.com/udistrital/resoluciones_docentes_crud

#2. Moverse a la carpeta del repositorio
cd resoluciones_docentes_crud

#3. Crear un fichero con el nombre **custom.env**
touch custom.env

#4. Crear la network **back_end** para los contenedores
docker network create back_end

#5. Ejecutar el compose del contenedor
docker-compose up --build

#6. Comprobar que los contenedores estén en ejecución
docker ps

Ejecución Pruebas

# En Proceso

Pruebas unitarias

# En Proceso

Estado CI

Develop Relese 0.0.1 Master
Build Status Build Status Build Status

Licencia

This file is part of resoluciones_docentes_crud.

resoluciones_docentes_crud is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation, either version 3 of the License, or (at your option) any later version.

resoluciones_docentes_crud is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details.

You should have received a copy of the GNU General Public License along with resoluciones_docentes_crud. If not, see https://www.gnu.org/licenses/.

About

✔️ Check: Api CRUD para el sistema de resoluciones

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages