diff --git a/README.rst b/README.rst index 464e9af..f4faa4e 100644 --- a/README.rst +++ b/README.rst @@ -152,7 +152,7 @@ Manually * Install the needed system libraries:: - sudo dnf install git python3 libgit2-devel redis \ + sudo dnf install git python3 python3-devel libgit2-devel redis \ libjpeg-devel gcc libffi-devel redhat-rpm-config .. note:: Do note the version of libgit2 that you install, for example @@ -207,8 +207,8 @@ Manually * Enable and start redis server:: - systemctl enable redis - systemctl start redis + sudo systemctl enable redis + sudo systemctl start redis * Start a worker, in one terminal:: @@ -235,7 +235,13 @@ This will launch the application at http://127.0.0.1:5000 * Run it:: - ./runtests.sh + python runtests.py run + + You may use:: + + python runtests.py --help + + to check other options supported or read the source code ;-) .. note:: While testing for worker tasks, pagure uses celery in /usr/bin/ Celery then looks for eventlet (which we use for testing only) at diff --git a/doc/contributing.rst b/doc/contributing.rst index bd54af5..370c527 100644 --- a/doc/contributing.rst +++ b/doc/contributing.rst @@ -13,11 +13,13 @@ If you're submitting patches to pagure, please observe the following: yourself (which is simple: ``black /path/to/pagure``). - Check that your code doesn't break the test suite. The test suite can be - run using the ``runtests.sh`` shell script at the top of the sources. + run using the ``runtests.py`` script at the top of the sources, you may + use ``python runtests.py run`` to run the tests and ``python runtests.py --help`` + to check other options supported. See :doc:`development` for more information about the test suite. - If you are adding new code, please write tests for them in ``tests/``, - the ``runtests.sh`` script will help you to see the coverage of your code + the ``runtests.py`` script will help you to see the coverage of your code in unit-tests. - If your change warrants a modification to the docs in ``doc/`` or any