Yuneta

A C framework to produce Yunos, or interconnected daemons, or micro-services, or perhaps large service. Automate the creation, deploy and communication of auto-start daemons.

Compilation

C (and a few Python) knowledge is required.

To compile the source code, you must first compile the jannson and libuv libraries. Their output is saved in a internal directory in order to do a final static compilation.

Yuneta is compiled with CMake. Jannson is compiled with CMake too. Libuv is compiled with automake.

You will find scripts in yuneta/src/libs.src directory to automate the configure/make/install/clean steps.

The output of compilation is:

  • static library libyuneta_core.a installed in $PREFIX/lib (libuv and jannson are embbeded). By the moment, dynamic library is not generated.
  • include files from yuneta/glib0/libuv/jannson libraries installed in $PREFIX/include/yuneta
  • yuneta_agent yuno. Installed as a service called yuneta_agent in Prod, and ``yuneta_agent_t``* in Test. Installed in rc.d too for auto start in boot.
  • yuneta command line tool. Installed in $PREFIX/bin.

The deploy/start/stop of your yunos is all managed by yuneta_agent. No more dependencies of the operative system.

Installation

To install use the typical tools of C world: make and cmake

Yuneta works in Linux, in OpenVos, and soon in Windows. In OpenVos use make with the own Makefiles.vos that you find in some sites. In Linux use cmake. In Windows ...todo

Furthermore there are several tools in utils directory:

  • yunotemplate a python module to create the skeleton of a yuno, ready to compile. To install use python setup.py install.

Code

Source code available in bitbucket. Soon!!

Indices and tables

Table Of Contents

Next topic

What is Yuneta?