resoluciones_crud_v2

command module
v0.0.0-...-e645594 Latest Latest
Warning

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

Go to latest
Published: Oct 25, 2023 License: GPL-3.0 Imports: 9 Imported by: 0

README

resoluciones_crud_v2

✔ Check: Repositorio api CRUD para el sistema de resoluciones.

Especificaciones Técnicas

Tecnologías Implementadas y Versiones
Variables de Entorno
# parametros de api
RESOLUCIONES_CRUD_V2_HTTP_PORT=[Puerto de exposición del API]
# paramametros de bd
RESOLUCIONES_CRUD_V2_PGUSER=[Usuario de BD]
RESOLUCIONES_CRUD_V2_PGPASS=[Contraseña del usaurio de BD]
RESOLUCIONES_CRUD_V2_PGHOST=[URL, Dominio o EndPoint de la BD]
RESOLUCIONES_CRUD_V2_PGPORT=[Puerto de la BD]
RESOLUCIONES_CRUD_V2_PGDB=[Nombre de Base de Datos]
RESOLUCIONES_CRUD_V2_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_V2...

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

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

# 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_V2_HTTP_PORT=8080 RESOLUCIONES_CRUD_V2_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_crud_v2

#2. Moverse a la carpeta del repositorio
cd resoluciones_crud_v2

#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 Sonar
Build Status Build Status Build Status Quality Gate Status

Modelo de datos

Modelo de datos - Pgmodeler

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

Documentation

The Go Gopher

There is no documentation for this package.

Directories

Path Synopsis
database
@APIVersion 1.0.0 @Title Resoluciones CRUD Version 2 @Description Nueva versión de API CRUD para el sistema de Resoluciones @Contact computo@udistrital.edu.co @TermsOfServiceUrl http://beego.me/ @License Apache 2.0 @LicenseUrl http://www.apache.org/licenses/LICENSE-2.0.html
@APIVersion 1.0.0 @Title Resoluciones CRUD Version 2 @Description Nueva versión de API CRUD para el sistema de Resoluciones @Contact computo@udistrital.edu.co @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