From 5b1440593a5b0018f4e4c779774bff884b0b6422 Mon Sep 17 00:00:00 2001 From: Sylwester Brzeczkowski Date: Tue, 16 Feb 2016 15:08:53 +0100 Subject: [PATCH] Update Nailgun documentation about extensions Added a step in `Preparing Development Environment` about installing Nailgun in developers mode. Thanks to that extensions will be discovered. Change-Id: Ieb853bcea2a5bc7448cbe59b3c865f566d048b9c Closes-Bug: #1544534 Implements: blueprint stevedore-extensions-discovery --- docs/develop/nailgun/development/env.rst | 11 ++++++++++- 1 file changed, 10 insertions(+), 1 deletion(-) diff --git a/docs/develop/nailgun/development/env.rst b/docs/develop/nailgun/development/env.rst index 400ed00d03..b681b8eb95 100644 --- a/docs/develop/nailgun/development/env.rst +++ b/docs/develop/nailgun/development/env.rst @@ -43,7 +43,7 @@ Preparing Development Environment sudo apt-get install --yes python-dev python-pip #. Install virtualenv. This step increases flexibility - when dealing with environment settings and package installation: + when dealing with environment settings and package installation:: sudo pip install virtualenv virtualenvwrapper . /usr/local/bin/virtualenvwrapper.sh # you can save this to .bashrc @@ -59,6 +59,15 @@ Preparing Development Environment cd fuel-web pip install --allow-all-external -r nailgun/test-requirements.txt +#. Install Nailgun in the developers mode by running the command below in the + `nailgun` folder. Thanks to that, Nailgun extensions will be discovered:: + + python setup.py develop + + Or if you are using pip:: + + pip install -e . + #. Create required folder for log files:: sudo mkdir /var/log/nailgun