Skip to main content

The process virtual machine

Project description

Build Status

The process virtual machine

This project defines storage for an abstract _process_ in a company, and implements a virtual machine that keeps track of the execution of instances of the process.

Develop

You will need the redis and mongo databases, and rabbitmq for this to work.

git clone https://github.com/tracsa/cacahuate.git && cd cacahuate
virtualenv -p /usr/bin/python3 .env
echo "export CACAHUATE_SETTINGS=$(pwd)/settings_develop.py" >> .env/bin/activate
echo "export FLASK_APP=cacahuate.http.wsgi" >> .env/bin/activate
echo "export FLASK_DEBUG=1" >> .env/bin/activate
touch settings_develop.py
source .env/bin/activate
pip install -r requirements.txt
pytest

Installation

pip install cacahuate

Cacahuated

This is the daemon in charge of moving pointers in the process, run with:

cacahuated

The Cacahuate REST API

In this same repository you will find a flask application that exposes a REST api for controling Cacahuate.

How to run

FLASK_APP=cacahuate.http.wsgi flask run

You can use any wsgi-compliant server, like gunicorn, to run this:

gunicorn cacahuate.http.wsgi:app

TODO

  • modificar funcion Xml.load para especificar versión como un argumento aparte

  • desarrollar campo enum en Coralillo y usar para models.Field

  • hacer auth-filter parte obligatoria de un nodo y crear auth-backend que permite todos los usuarios

  • que las condiciones indiquen el nodo donde está el formulario

  • renombrar endpint /v1/log/<id> a /v1/pointer y usasr consultas

Project details


Release history Release notifications | RSS feed

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

cacahuate-2.0.0rc1.tar.gz (23.3 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

cacahuate-2.0.0rc1-py3-none-any.whl (35.4 kB view details)

Uploaded Python 3

File details

Details for the file cacahuate-2.0.0rc1.tar.gz.

File metadata

  • Download URL: cacahuate-2.0.0rc1.tar.gz
  • Upload date:
  • Size: 23.3 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No

File hashes

Hashes for cacahuate-2.0.0rc1.tar.gz
Algorithm Hash digest
SHA256 146a72a19bf1776baa819addb6eea28cb507eb3e7dcc6690b5ee4b52265c48e2
MD5 167331fd99c37cd58df9c516be4777bc
BLAKE2b-256 80ad6a61ff61671757130d480b0ee8bd58e877ca4b32a14cc97a59a74ec336c4

See more details on using hashes here.

File details

Details for the file cacahuate-2.0.0rc1-py3-none-any.whl.

File metadata

File hashes

Hashes for cacahuate-2.0.0rc1-py3-none-any.whl
Algorithm Hash digest
SHA256 5af8305597da1939c9276f6b798fb8544c734c777c5abf92fd2b0d7b64e298a2
MD5 90751bf2af2e05244e038c7d77b39459
BLAKE2b-256 c819e6afb172831985e5818e302432f10dd5ee84c08dc1a955431538c1969550

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page