From: Yujun Zhang Date: Thu, 27 Apr 2017 03:28:10 +0000 (+0800) Subject: Add user guide about install from source code X-Git-Tag: opnfv-5.0.0~131 X-Git-Url: https://gerrit.opnfv.org/gerrit/gitweb?a=commitdiff_plain;h=5e8a66c2d8e6c7c5b04321379fd25a8c0604098a;p=qtip.git Add user guide about install from source code Change-Id: Ieb4bbada9cd6375f4583a7cdc4ad7d995d2b6780 Signed-off-by: Yujun Zhang --- 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 =========================