From 5e8a66c2d8e6c7c5b04321379fd25a8c0604098a Mon Sep 17 00:00:00 2001 From: Yujun Zhang Date: Thu, 27 Apr 2017 11:28:10 +0800 Subject: Add user guide about install from source code Change-Id: Ieb4bbada9cd6375f4583a7cdc4ad7d995d2b6780 Signed-off-by: Yujun Zhang --- docs/testing/user/configguide/configuration.rst | 20 ++++++++++++++++++++ 1 file changed, 20 insertions(+) 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 + source .venv/bin/activate Environment configuration ========================= -- cgit 1.2.3-korg