summaryrefslogtreecommitdiffstats
path: root/docs/dovetailtool/dovetail.tool.installation.rst
diff options
context:
space:
mode:
authorhongbo tian <hongbo.tianhongbo@huawei.com>2017-01-16 03:10:16 +0000
committerGerrit Code Review <gerrit@opnfv.org>2017-01-16 03:10:16 +0000
commit69845ee8f5301bdaadd3d37d23153d4423a8e92e (patch)
tree9859a8ed2ffbe8e41c43112aa28273c2fb1823e1 /docs/dovetailtool/dovetail.tool.installation.rst
parente97456e126db10e8ba261f60956e0032a492d7e6 (diff)
parent96d20285b164ddda94acad4253015e7125fe8337 (diff)
Merge "dovetail tool: delete unnecessary prepare_env.py"
Diffstat (limited to 'docs/dovetailtool/dovetail.tool.installation.rst')
-rw-r--r--docs/dovetailtool/dovetail.tool.installation.rst33
1 files changed, 20 insertions, 13 deletions
diff --git a/docs/dovetailtool/dovetail.tool.installation.rst b/docs/dovetailtool/dovetail.tool.installation.rst
index 288de0b3..24717fb0 100644
--- a/docs/dovetailtool/dovetail.tool.installation.rst
+++ b/docs/dovetailtool/dovetail.tool.installation.rst
@@ -56,34 +56,41 @@ Dovetail configuration:
To modify the ``envs`` parameters, e.g., SUT_TYPE, SUT_IP, NODE_NAME,
DEPLOY_SCENARIO, BUILD_TAG, CI_DEBUG, DEPLOY_TYPE, in the yml files.
-System dependencies are installed via the ``prepare_env.py`` file, and you will need ``sudo``
-access to complete the installation.
+System dependencies and project configuration information are listed in
+``requirements.txt``, ``setup.py`` and ``setup.cfg``, in Ubuntu environment,
+to run
::
- cd {dovetail_path}/dovetail/dovetail
- python prepare_env.py
+ apt-get -y install python-pip
+ pip install .
-At this point the environment is now ready for Dovetail execution.
+in ``centos`` and ``redhat`` environment, to run
+
+::
+
+ yum -y install python-pip
+ pip install .
+
+in ``fedora`` environment, to run
-The tool ``tox`` is used, environment preparation progress is included in tox
-until completely replaced, the configuration information is set in:
::
- setup.py
- setup.cfg
- requirements.txt
- test-requirements.txt
+ dnf -y install python-pip
+ pip install .
+
+then the setup requirements are installed and **dovetail** commmand-line can be used,
+by using ``dovetail --help``, **dovetail** command-line details are shown.
+The tool ``tox`` is used, which configuration information is defined in
+``tox.ini``, unitttest, flake8-checking, coverage check, etc, can be done
by running:
::
tox
-the environment prepartion is completed.
-
Compliance and certification test cases
----------------------------------------