Update URL and indentations

Updated the indentations and URL in certain places of README.rst.

Change-Id: Ic930f6654fcf99570f9cf0f1058b6a4412746493
This commit is contained in:
Sharat Sharma 2017-08-14 14:08:50 +05:30
parent 18bab73ed7
commit 6980b30692
1 changed files with 13 additions and 17 deletions

View File

@ -2,8 +2,8 @@
Team and repository tags Team and repository tags
======================== ========================
.. image:: https://governance.openstack.org/badges/mistral.svg .. image:: https://governance.openstack.org/tc/badges/mistral.svg
:target: https://governance.openstack.org/reference/tags/index.html :target: https://governance.openstack.org/tc/reference/tags/index.html
Mistral Mistral
======= =======
@ -68,16 +68,16 @@ an OpenStack environment.
* Create the database and grant privileges:: * Create the database and grant privileges::
$ mysql -u root -p $ mysql -u root -p
mysql> CREATE DATABASE mistral; mysql> CREATE DATABASE mistral;
mysql> USE mistral; mysql> USE mistral
mysql> GRANT ALL PRIVILEGES ON mistral.* TO 'mistral'@'localhost' IDENTIFIED BY 'MISTRAL_DBPASS'; mysql> GRANT ALL PRIVILEGES ON mistral.* TO 'mistral'@'localhost' \
mysql> GRANT ALL PRIVILEGES ON mistral.* TO 'mistral'@'%' IDENTIFIED BY 'MISTRAL_DBPASS'; IDENTIFIED BY 'MISTRAL_DBPASS';
mysql> GRANT ALL PRIVILEGES ON mistral.* TO 'mistral'@'%' IDENTIFIED BY 'MISTRAL_DBPASS';
#. Generate ``mistral.conf`` file:: #. Generate ``mistral.conf`` file::
$ oslo-config-generator \ $ oslo-config-generator --config-file tools/config/config-generator.mistral.conf \
--config-file tools/config/config-generator.mistral.conf \
--output-file etc/mistral.conf.sample --output-file etc/mistral.conf.sample
#. Copy service configuration files:: #. Copy service configuration files::
@ -157,24 +157,21 @@ Running Mistral API server
To run Mistral API server:: To run Mistral API server::
$ tox -evenv -- python mistral/cmd/launch.py \ $ tox -evenv -- python mistral/cmd/launch.py --server api --config-file <path_to_config>
--server api --config-file <path_to_config>
Running Mistral Engines Running Mistral Engines
----------------------- -----------------------
To run Mistral Engine:: To run Mistral Engine::
$ tox -evenv -- python mistral/cmd/launch.py \ $ tox -evenv -- python mistral/cmd/launch.py --server engine --config-file <path_to_config>
--server engine --config-file <path_to_config>
Running Mistral Task Executors Running Mistral Task Executors
------------------------------ ------------------------------
To run Mistral Task Executor instance:: To run Mistral Task Executor instance::
$ tox -evenv -- python mistral/cmd/launch.py \ $ tox -evenv -- python mistral/cmd/launch.py --server executor --config-file <path_to_config>
--server executor --config-file <path_to_config>
Note that at least one Engine instance and one Executor instance should be Note that at least one Engine instance and one Executor instance should be
running in order for workflow tasks to be processed by Mistral. running in order for workflow tasks to be processed by Mistral.
@ -201,8 +198,7 @@ Running Multiple Mistral Servers Under the Same Process
To run more than one server (API, Engine, or Task Executor) on the same To run more than one server (API, Engine, or Task Executor) on the same
process:: process::
$ tox -evenv -- python mistral/cmd/launch.py \ $ tox -evenv -- python mistral/cmd/launch.py --server api,engine --config-file <path_to_config>
--server api,engine --config-file <path_to_config>
The value for the ``--server`` option can be a comma-delimited list. The valid The value for the ``--server`` option can be a comma-delimited list. The valid
options are ``all`` (which is the default if not specified) or any combination options are ``all`` (which is the default if not specified) or any combination