aboutsummaryrefslogtreecommitdiffstats
path: root/docs/testing
diff options
context:
space:
mode:
authorYujun Zhang <zhang.yujunz@zte.com.cn>2017-04-27 11:28:10 +0800
committerYujun Zhang <zhang.yujunz@zte.com.cn>2017-04-27 11:30:27 +0800
commit5e8a66c2d8e6c7c5b04321379fd25a8c0604098a (patch)
tree9fc24a5d05a38f80cbf0d48dc3e1f5d63e564f87 /docs/testing
parent27e86710e8d6080cda9e0121a0ff38275785cb7f (diff)
Add user guide about install from source code
Change-Id: Ieb4bbada9cd6375f4583a7cdc4ad7d995d2b6780 Signed-off-by: Yujun Zhang <zhang.yujunz@zte.com.cn>
Diffstat (limited to 'docs/testing')
-rw-r--r--docs/testing/user/configguide/configuration.rst20
1 files changed, 20 insertions, 0 deletions
diff --git a/docs/testing/user/configguide/configuration.rst b/docs/testing/user/configguide/configuration.rst
index f048558e..58abd072 100644
--- a/docs/testing/user/configguide/configuration.rst
+++ b/docs/testing/user/configguide/configuration.rst
@@ -61,6 +61,26 @@ be navigated to using the following command.
cd repos/qtip
+Install from source code
+========================
+
+You may try out the latest version of QTIP by installing from source code. It is recommended to run it under Python
+``virtualenv`` so it won't screw system libraries.
+
+Run the following commands::
+
+ git clone https://git.opnfv.org/qtip && cd qtip
+ virtualenv .venv && source .venv/bin/activate
+ pip install -e .
+
+Use the following command to exit virtualenv::
+
+ deactivate
+
+Re-enter the virtualenv with::
+
+ cd <qtip-directory>
+ source .venv/bin/activate
Environment configuration
=========================