Skip to content
Snippets Groups Projects
Commit b199c3af authored by juga's avatar juga
Browse files

Add extra dependencies for tests. Remove obsolete

parent 18d992ab
No related branches found
No related tags found
No related merge requests found
......@@ -48,35 +48,19 @@ Install the python dependencies::
``sbws`` needs :term:`destination` s to request files from.
Please, see :ref:`deploy` to know how to configure, deploy and run ``sbws``.
If you would like to use a custom configuration file you can create it in
``~/.sbws.ini`` or provide ``sbws`` with it via ``-c`` ``--config`` option.
Installing tests dependencies and running them
------------------------------------------------
See the documentation section about configuration files for more information
about how to create a configuration file.
To run the tests, extra Python depenencies are needed:
Tor run the scanner run
::
sbws scanner
[OBSOLETE DO NOT FOLLOW] Virtualenv - Production
------------------------------------------------------------------------------
Installing
~~~~~~~~~~
::
- Flake8_
- tox_
- pytest_
- coverage_
git clone https://github.com/pastly/simple-bw-scanner.git
cd simple-bw-scanner
git checkout v1.5.3
virtualenv -p python3 venv
source venv/bin/activate
pip install --process-dependency-links .
sbws init
To install them from ``sbws`` ::
.. note::
pip install .[dev] && pip install .[doc]
Because we relay on a ``-dev`` version of stem, we need to fetch it from
git.torproject.org. Thus ``--process-dependency-links`` is necessary.
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment