Add user guide about install from source code 15/33915/1
authorYujun Zhang <zhang.yujunz@zte.com.cn>
Thu, 27 Apr 2017 03:28:10 +0000 (11:28 +0800)
committerYujun Zhang <zhang.yujunz@zte.com.cn>
Thu, 27 Apr 2017 03:30:27 +0000 (11:30 +0800)
Change-Id: Ieb4bbada9cd6375f4583a7cdc4ad7d995d2b6780
Signed-off-by: Yujun Zhang <zhang.yujunz@zte.com.cn>
docs/testing/user/configguide/configuration.rst

index f048558..58abd07 100644 (file)
@@ -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
 =========================