# HG changeset patch # User Thomas De Schampheleire # Date 2017-06-28 21:24:54 # Node ID 1daec1628e0b742c4f0cdb47122f8a344d47d5f0 # Parent 49be3b49c8e20c28bd592fef6ad0c9274291a3c7 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. diff --git a/docs/contributing.rst b/docs/contributing.rst --- a/docs/contributing.rst +++ b/docs/contributing.rst @@ -36,6 +36,7 @@ To get started with Kallithea developmen 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 @@ mailing list (via ``hg email``) or by cr 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``.