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
This commit is contained in:
Sylwester Brzeczkowski 2016-02-16 15:08:53 +01:00
parent 6c18227a13
commit 5b1440593a
1 changed files with 10 additions and 1 deletions

View File

@ -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