Updating README.md file

Change-Id: I1606a6c9c3c6584aef933fbd8e94a43ddd44ca99
This commit is contained in:
Renat Akhmerov 2013-12-20 18:38:13 +07:00
parent a8acc1934d
commit eb957e5eaa
1 changed files with 13 additions and 6 deletions

View File

@ -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*