mistral/mistral-demo-app
Nikolay Mahotkin 814b030417 Add demo app for Mistral
* Simple server
 * expose one endpoint - /tasks
 * recieve correct signal from mistral
  about task execution, log 'task N started,
 task N finished'
 * logging

Change-Id: I230eac12319be820d64612d242b9190a10be946e
2013-12-25 17:41:13 +04:00
..
2013-12-25 17:41:13 +04:00
2013-12-25 17:41:13 +04:00
2013-12-25 17:41:13 +04:00
2013-12-25 17:41:13 +04:00
2013-12-25 17:41:13 +04:00
2013-12-25 17:41:13 +04:00

Mistral Demo app

This mini-project demonstrates basic Mistral capabilities.

Installation

First of all, in a shell run:

tox

This will install necessary virtual environments and run all the project tests. Installing virtual environments may take significant time (~10-15 mins).

Then make a sym-link to mistralclient package

cd mistral-demo-app *ln -s mistralclient

Running Mistral Demo app server

To run Mistral Demo app server perform the following commands in a shell:

tox -evenv -- python demo_app/cmd/main.py

Then it will automatically upload necessary workbook and run workflow.