Add cd, export and enable service command in doc

While installing the API service and Engine, sample configuration file
is needed to generate inside murano/murano using tox. Hence add cd
command.

While installing and running murano with devstack, environment
variable DEVSTACK_DIR is used. Add export command to set environment
varible. Neutron additional service is also required by murano which
do not come by default with devstack. It is mention and add command to
enable it.

Closes-Bug: #1492192
Change-Id: I2313460f8eae870de2722c078f1676245cb605d7
This commit is contained in:
enthurohini 2015-09-08 01:16:03 +05:30
parent 394f9f0f67
commit 43d5f9bfca
2 changed files with 9 additions and 2 deletions

View File

@ -1,18 +1,24 @@
1. Follow Devstack documentation to setup a host for Devstack. Then clone 1. Follow Devstack documentation to setup a host for Devstack. Then clone
Devstack source code. Devstack source code.
2. Copy Murano integration scripts to Devstack:: 2. Copy Murano integration scripts to Devstack either by setting environment
variable or providing complete path to devstack directory. Below one is using
environment variable::
export DEVSTACK_DIR=<complete path to devstack directory(clonned)>
cp lib/murano ${DEVSTACK_DIR}/lib cp lib/murano ${DEVSTACK_DIR}/lib
cp lib/murano-dashboard ${DEVSTACK_DIR}/lib cp lib/murano-dashboard ${DEVSTACK_DIR}/lib
cp extras.d/70-murano.sh ${DEVSTACK_DIR}/extras.d cp extras.d/70-murano.sh ${DEVSTACK_DIR}/extras.d
3. Create a ``localrc`` file as input to devstack. 3. Create a ``localrc`` file as input to devstack.
4. The Murano services are not enabled by default, so they must be 4. The Murano, Neutron and Heat services are not enabled by default, so they must be
enabled in ``localrc`` before running ``stack.sh``. This example ``localrc`` enabled in ``localrc`` before running ``stack.sh``. This example ``localrc``
file shows all of the settings required for Murano:: file shows all of the settings required for Murano::
# Enable Neutron
ENABLED_SERVICES+=,q-svc,q-agt,q-dhcp,q-l3,q-meta,neutron
# Enable Heat # Enable Heat
enable_service heat h-api h-api-cfn h-api-cw h-eng enable_service heat h-api h-api-cfn h-api-cw h-eng

View File

@ -131,6 +131,7 @@ Install the API service and Engine
.. code-block:: console .. code-block:: console
cd ~/murano/murano
tox -e genconfig tox -e genconfig
.. ..