Skip to content

✔️ Check: API MID del Sistema de Gestión Académica (SGA)

Notifications You must be signed in to change notification settings

udistrital/sga_mid

Repository files navigation

sga_mid

API MID del Sistema de Gestión Académica (SGA)

Especificaciones Técnicas

Tecnologías Implementadas y Versiones

Variables de Entorno

SGA_MID_HTTP_PORT: [Puerto de ejecución API]
SGA_MID_STATIC_PATH: [Ruta de imágenes usadas en la generación de recibos de pago]
RULER_URL: [Dirección API RULER]
RULER_PORT: [Puerto API RULER]
CONFIGURACION_SERVICE: [Servicio API CONFIGURACIÓN]
NOTIFICACION_SERVICE: [Servicio API NOTIFICACION]
PERSONAS_SERVICE: [Servicio API PERSONAS]
PRODUCCION_ACADEMICA_SERVICE: [Servicio API PRODUCCION_ACADEMICA]
EVENTOS_SERVICE: [Servicio API EVENTOS]
OIKOS_SERVICE: [Servicio API OIKOS]
CORE_SERVICE: [Servicio API CORE]
INSCRIPCION_SERVICE: [Servicio API INSCRIPCION]
EVALUACION_INSCRIPCION_SERVICE: [Servicio API EVALUACION_INSCRIPCION]
PROYECTO_SERVICE: [Servicio API PROYECTO]
UNIDAD_TIEMPO_SERVICE: [Servicio API UNIDAD_TIEMPO]
TERCEROS_SERVICE: [Servicio API TERCEROS]
UBICACIONES_SERVICE: [Servicio API UBICACIONES]
FORMACION_ACADEMICA_SERVICE: [Servicio API FORMACION_ACADEMICA]
EXPERIENCIA_LABORAL_SERVICE: [Servicio API EXPERENCIA_LABORAL]
DESCUENTO_ACADEMICO_SERVICE: [Servicio API DESCUENTO_ACADEMICO]

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

Ejecución del Proyecto

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

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

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

# 4. alimentar todas las variables de entorno que utiliza el proyecto.
SGA_MID_HTTP_PORT=8080 RULER_URL=127.0.0.1:27017 SGA_MID_SOME_VARIABLE=some_value bee run

Ejecución Dockerfile

# docker build --tag=sga_mid . --no-cache
# docker run -p 80:80 sga_mid

Ejecución docker-compose

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

#2. Moverse a la carpeta del repositorio
cd sga_mid

#3. Crear un fichero con el nombre **custom.env**
# En windows ejecutar:* ` ni 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

Pruebas unitarias

# En Proceso

Estado CI

Develop Relese 0.0.1 Master
Build Status Build Status Build Status

Licencia

This file is part of sga_mid.

sga_mid 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.

sga_mid 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 sga_mid. If not, see https://www.gnu.org/licenses/.

About

✔️ Check: API MID del Sistema de Gestión Académica (SGA)

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages