Mercurial > kallithea
changeset 6736:1daec1628e0b
docs/contributing: move installation of dev_requirements to default instructions
When intending to contribute to Kallithea, you are expected to run all
tests, so installation of the dev_requirements are actually mandatory.
Hence, update the instructions.
author | Thomas De Schampheleire <thomas.de.schampheleire@gmail.com> |
---|---|
date | Wed, 28 Jun 2017 21:24:54 +0200 |
parents | 49be3b49c8e2 |
children | a755bacaa725 |
files | docs/contributing.rst |
diffstat | 1 files changed, 3 insertions(+), 4 deletions(-) [+] |
line wrap: on
line diff
--- a/docs/contributing.rst Wed Jun 28 21:52:35 2017 +0200 +++ b/docs/contributing.rst Wed Jun 28 21:24:54 2017 +0200 @@ -36,6 +36,7 @@ source ../kallithea-venv/bin/activate pip install --upgrade pip setuptools pip install -e . + pip install -r dev_requirements.txt gearbox make-config my.ini gearbox setup-db -c my.ini --user=user --email=user@example.com --password=password --repos=/tmp gearbox serve -c my.ini --reload & @@ -81,11 +82,9 @@ Running tests ------------- -After finishing your changes make sure all tests pass cleanly. Install the test -dependencies, then run the testsuite by invoking ``py.test`` from the -project root:: +After finishing your changes make sure all tests pass cleanly. Run the testsuite +by invoking ``py.test`` from the project root:: - pip install -r dev_requirements.txt py.test Note that testing on Python 2.6 also requires ``unittest2``.