- Notifications
You must be signed in to change notification settings - Fork2
udistrital/plan_cuentas_mongo_crud
Folders and files
Name | Name | Last commit message | Last commit date | |
---|---|---|---|---|
Repository files navigation
El API plan_cuentas_mongo_crud proporciona interfaces para la manipulación (CRUD) de los datos almacenados en una base de datos no relacional MongoDB (rubros, apropiaciones, fuentes de financiamiento, cpd, crp, vigencias)
Esta API representa la capa de datos del sistema de gestión financiero KRONOS.
PLAN_CUENTAS_MONGO_CRUD__PORT = [descripción]PLAN_CUENTAS_MONGO_CRUD__DB_URL = [descripción]PLAN_CUENTAS_MONGO_CRUD__DB_NAME = [descripción]PLAN_CUENTAS_MONGO_CRUD__DB_USER = [descripción]PLAN_CUENTAS_MONGO_CRUD__DB_PASS = [descripción]PLAN_CUENTAS_MONGO_CRUD__DB_AUTH = [descripción]
NOTA: Las variables se pueden ver en el fichero conf/app.conf y están identificadas conPLAN_CUENTAS_MONGO_CRUD__...
#1. Obtener el repositorio con Gogo get github.com/udistrital/plan_cuentas_mongo_crud#2. Moverse a la carpeta del repositoriocd$GOPATH/src/github.com/udistrital/plan_cuentas_mongo_crud# 3. Moverse a la rama **dev**git pull origin dev&& git checkout dev# 4. alimentar todas las variables de entorno que utiliza el proyecto.PLAN_CUENTAS_MONGO_CRUD__PORT=8080 PLAN_CUENTAS_MONGO_CRUD_DB_URL=127.0.0.1:27017 PLAN_CUENTAS_MONGO_CRUD__SOME_VARIABLE=some_value bee run
# docker build --tag=plan_cuentas_mongo_crud . --no-cache# docker run -p 80:80 plan_cuentas_mongo_crud
#1. Clonar el repositoriogit clone -b dev https://github.com/udistrital/plan_cuentas_mongo_crud#2. Moverse a la carpeta del repositoriocd plan_cuentas_mongo_crud#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 contenedoresdocker network create back_end#5. Ejecutar el compose del contenedordocker-compose up --build#6. Comprobar que los contenedores estén en ejecucióndocker ps
Pruebas unitarias
# Not Data
Develop | Relese 1.1.1 | Master |
---|---|---|
This file is part of plan_cuentas_mongo_crud.
plan_cuentas_mongo_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.
plan_cuentas_mongo_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 plan_cuentas_mongo_crud. If not, seehttps://www.gnu.org/licenses/.
About
✔️ Check: API mongo para modelo de negocio plan de cuentas - subsistema presupuesto - Kronos
Topics
Resources
Uh oh!
There was an error while loading.Please reload this page.
Stars
Watchers
Forks
Packages0
Uh oh!
There was an error while loading.Please reload this page.