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:
parent
6c18227a13
commit
5b1440593a
|
@ -43,7 +43,7 @@ Preparing Development Environment
|
||||||
sudo apt-get install --yes python-dev python-pip
|
sudo apt-get install --yes python-dev python-pip
|
||||||
|
|
||||||
#. Install virtualenv. This step increases flexibility
|
#. 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
|
sudo pip install virtualenv virtualenvwrapper
|
||||||
. /usr/local/bin/virtualenvwrapper.sh # you can save this to .bashrc
|
. /usr/local/bin/virtualenvwrapper.sh # you can save this to .bashrc
|
||||||
|
@ -59,6 +59,15 @@ Preparing Development Environment
|
||||||
cd fuel-web
|
cd fuel-web
|
||||||
pip install --allow-all-external -r nailgun/test-requirements.txt
|
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::
|
#. Create required folder for log files::
|
||||||
|
|
||||||
sudo mkdir /var/log/nailgun
|
sudo mkdir /var/log/nailgun
|
||||||
|
|
Loading…
Reference in New Issue