sga_mid_calendario_academcio

command module
v0.0.0-...-67fa9dc Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Aug 13, 2024 License: MIT Imports: 9 Imported by: 0

README

Calendario Académico - SGA MID

API MID intermediaria entre el cliente SGA y la API de Eventos con los endpoints requeridos para la gestión del calendario académico.

Especificaciones Técnicas

Tecnologías Implementadas y Versiones
Variables de Entorno
CORE_SERVICE: [Servicio API CORE]
DOCUMENTO_SERVICE: [Servicio API DOCUMENTOS]
EVENTOS_SERVICE: [Servicio API EVENTOS]
OIKOS_SERVICE: [Servicio API OIKOS]
PARAMETRO_SERVICE: [Servicio API PARAMETRO]
PROYECTO_ACADEMICO_SERVICE: [Servicio PROYECTO ACADEMICO]
TERCEROS_SERVICE: [Servicio API TERCEROS]

NOTA: Las variables se pueden ver en el fichero conf/app.conf.

Ejecución del Proyecto
#1. Obtener el repositorio con Go
go get github.com/udistrital/sga_calendario_mid

#2. Moverse a la carpeta del repositorio
cd $GOPATH/src/github.com/udistrital/sga_calendario_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_CALENDARIO_MID_SOME_VARIABLE=some_value bee run
Ejecución Dockerfile
# docker build --tag=sga_calendario_mid . --no-cache
# docker run -p 80:80 sga_calendario_mid
Ejecución docker-compose
#1. Clonar el repositorio
git clone -b develop https://github.com/udistrital/sga_calendario_mid

#2. Moverse a la carpeta del repositorio
cd sga_calendario_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_calendario_mid.

sga_calendario_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/.

Documentation

The Go Gopher

There is no documentation for this package.

Directories

Path Synopsis
@APIVersion 1.0.0 @Title beego Test API @Description beego has a very cool tools to autogenerate documents for your API @Contact astaxie@gmail.com @TermsOfServiceUrl http://beego.me/ @License Apache 2.0 @LicenseUrl http://www.apache.org/licenses/LICENSE-2.0.html
@APIVersion 1.0.0 @Title beego Test API @Description beego has a very cool tools to autogenerate documents for your API @Contact astaxie@gmail.com @TermsOfServiceUrl http://beego.me/ @License Apache 2.0 @LicenseUrl http://www.apache.org/licenses/LICENSE-2.0.html

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL