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.

This project is based on two fantastic and great open source projects:

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

sudo apt-get install libtool automake autoconf autotools-dev

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.

Why

I’ve written Yuneta thinking in my job, to do easier my life as developer, therefore it has no more ambition than this. I share this work free for all the world, because I feel a lot of pleasure doing it, but it’s not a collaborative project, it’s my project, it’s the final summary of nearly 30 years writting programs, and writting alone.

Indices and tables

Table Of Contents

Next topic

What is Yuneta?