From eb957e5eaac156938c764db00970095ed9d55d0a Mon Sep 17 00:00:00 2001 From: Renat Akhmerov Date: Fri, 20 Dec 2013 18:38:13 +0700 Subject: [PATCH] Updating README.md file Change-Id: I1606a6c9c3c6584aef933fbd8e94a43ddd44ca99 --- README.md | 19 +++++++++++++------ 1 file changed, 13 insertions(+), 6 deletions(-) diff --git a/README.md b/README.md index f8488353..609efb2f 100644 --- a/README.md +++ b/README.md @@ -14,11 +14,18 @@ First of all, in a shell run: This will install necessary virtual environments and run all the project tests. Installing virtual environments may take significant time (~10-15 mins). -### Mistral configuration - -Open *etc/mistral.conf* file and fix configuration properties as needed. For example, *host* and *port* specified by default may not be desired in a particular environment. - ### Running Mistral API server -To run Mistral API server perform the following commands in a shell: +To run Mistral API server perform the following command in a shell: + +*tox -evenv -- python mistral/cmd/api.py --config-file path_to_config* + +Note that an example configuration file can be found in etc/mistral.conf.example. + +### Running Mistral Task Executors +To run Mistral Task Executor instance perform the following command in a shell: + +*tox -evenv -- python mistral/cmd/task_executor.py --config-file path_to_config* + +Note that at least one Executor instance should be running so that workflow tasks are processed by Mistral. + -*tox -evenv -- mistral/cmd/api.py --config-file etc/mistral.conf* \ No newline at end of file