From 782b73d89763fae9a8ad2ec7d3f73e9b5f6dc6ac Mon Sep 17 00:00:00 2001 From: Fang Jinxing Date: Sat, 5 Dec 2015 22:34:44 +0800 Subject: [PATCH] refine the development environment document Changed the order number of the document Change-Id: Ie967cf0e59792a39469b3fe3a97e43cbd6121cc6 --- doc/source/devref/development.environment.rst | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) diff --git a/doc/source/devref/development.environment.rst b/doc/source/devref/development.environment.rst index 2ac23b94..1361583e 100644 --- a/doc/source/devref/development.environment.rst +++ b/doc/source/devref/development.environment.rst @@ -42,42 +42,42 @@ On Fedora-based distributions (e.g., Fedora/RHEL/CentOS/Scientific Linux): $ sudo rpm --import http://www.rabbitmq.com/rabbitmq-signing-key-public.asc $ sudo yum install rabbitmq-server-3.2.2-1.noarch.rpm -On openSUSE-based distributions (SLES 12, openSUSE, Factory or Tumbleweed):: +On openSUSE-based distributions (SLES 12, openSUSE, Factory or Tumbleweed): .. sourcecode:: console $ sudo zypper in gcc git libmysqlclient-devel postgresql-devel python-devel python-pip python-tox python-virtualenv -2. Grab the code: +2. Grab the code .. sourcecode:: console $ git clone git://github.com/openstack/sahara.git $ cd sahara -3.1 Generate Sahara sample using tox: +3. Generate Sahara sample using tox .. sourcecode:: console tox -e genconfig -3.2 Create config file from the sample: +4. Create config file from the sample .. sourcecode:: console $ cp ./etc/sahara/sahara.conf.sample ./etc/sahara/sahara.conf -4. Look through the sahara.conf and modify parameter values as needed. +5. Look through the sahara.conf and modify parameter values as needed For details see :doc:`Sahara Configuration Guide ` -5. Create database schema: +6. Create database schema .. sourcecode:: console $ tox -e venv -- sahara-db-manage --config-file etc/sahara/sahara.conf upgrade head -6. To start Sahara API and Engine processes call: +7. To start Sahara API and Engine processes call .. sourcecode:: console