- Notifications
You must be signed in to change notification settings - Fork1
Conjunto estandarizado de herramientas de desarrollo para la union e interconexion de Neurones.
License
merakiVE/CEHDUN
Folders and files
Name | Name | Last commit message | Last commit date | |
---|---|---|---|---|
Repository files navigation
Es Conjunto estandarizado de herramientas de desarrollo para la union e interconexion de NeuronesAdemas es un componente del proyecto MerakiVE, que tiene como fin generar micro servicios para interconectarse con el CORE y sus principales funciones son:
- Generar Micro Servicios.
- Tramites (opcional).
- Gestionar AGENTES.
- Gestionar RUTINAS.
- Gestionar SUB RUTINAS.
Construccion 🚫 🚧 💪
Back-end:
Front-end:
Comportamiento del CEHDUN:
Install with Package Management For Go
Install glide:
$ curl https://glide.sh/get | sh
Install dependencies
Execute in the terminal:
cd $GOPATH/src/github.com/merakiVE/CEHDUN
Execute glide
glide install
You can start to develop
Run the server:
go run main.go
Install depends of mode global
Execute in the terminal:
$ go get -u github.com/kataras/iris$ go get -u github.com/merakiVE/CVDI$ go get -u github.com/hostelix/aranGO$ go get -u github.com/iris-contrib/middleware/cors$ go get -u github.com/fatih/structs$ go get -u github.com/fatih/structtag$ go get -u github.com/go-playground/locales/en$ go get -u github.com/go-playground/universal-translator$ go get -u github.com/spf13/viper$ go get -u gopkg.in/go-playground/validator.v9$ go get -u gopkg.in/jeevatkm/go-model.v1
Install ArangoDB
The next example is how install arango in debian 8
First add the repository key to apt like this:
curl -O https://download.arangodb.com/arangodb32/Debian_8.0/Release.keysudo apt-key add - < Release.key
Use apt-get to install arangodb:
echo 'deb https://download.arangodb.com/arangodb32/Debian_8.0/ /' | sudo tee /etc/apt/sources.list.d/arangodb.listsudo apt-get install apt-transport-httpssudo apt-get updatesudo apt-get install arangodb3=3.2.4
Create the file cehdun.conf
Create the file that content the arangoDB config, in the root the project with the following content:
{ "DATABASE" : { "DB_HOST" : "http://127.0.0.1", "DB_NAME" : "meraki", "DB_USER" : "your_user", "DB_PASSWORD" : "your_password", "DB_PORT": "8529" }, "PATH_KEYS": "keys", "PUBLIC_KEY_PATH" : "", "PRIVATE_KEY_PATH" : ""}
To finish execute:
$ go run main.go
Solo debes leer el archivocontributing.md
, que encontraras eneste enlace