Api dedicada a gestionar transacciones relacionadas con inventario y almacenamiento de bienes de la UD.
ARKA_MID_HTTP_PORT=[Definiar]
NOTA: Las variables se pueden ver en el fichero conf/app.conf y están identificadas con ARKA_MID_
Para definir puertos, dns y configuraciones internas dentro del archivo .env
Para definir conexiones externas a otros apis se debe crear el archivo custom.env en la raiz del proyectosss
#1. Obtener el repositorio con Go
go get github.com/udistrital/arka_mid
#2. Moverse a la carpeta del repositorio
cd $GOPATH/src/github.com/udistrital/arka_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.
ARKA_MID_PORT=8080 ARKA_MID_PGURLS=127.0.0.1:27017 ARKA_MID_SOME_VARIABLE=some_value bee run
# Implementado para despliegue del Sistema de integración continua CI.
#1. Clonar el repositorio
git clone -b develop https://github.com/udistrital/arka_mid
#2. Moverse a la carpeta del repositorio
cd arka_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
Pruebas unitarias
# Not Data
Develop | Relese 2.0.0 | Master |
---|---|---|
This file is part of arka_mid.
arka_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.
arka_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 arka_mid. If not, see https://www.gnu.org/licenses/.