From: funilrys Date: Sat, 3 Mar 2018 20:09:45 +0000 (+0100) Subject: Review of readme_template.md X-Git-Url: http://git.99rst.org/?a=commitdiff_plain;h=1e64d1287a65086365607fe540ad872b8fa92d64;p=stevenblack-hosts.git Review of readme_template.md Please note that this patch mothe the unit tests paragraph after dependencies installation. --- diff --git a/readme_template.md b/readme_template.md index 26952bfe4..6d9b8f737 100644 --- a/readme_template.md +++ b/readme_template.md @@ -39,10 +39,6 @@ folders. ## Generate your own unified hosts file -To run unit tests, in the top level directory, just run: - - python testUpdateHostsFile.py - **Note** if you are using Python 3, please install the dependencies with: pip3 install --user -r requirements.txt @@ -53,6 +49,10 @@ To run unit tests, in the top level directory, just run: **Note** we recommend the `--user` flag which installs the required dependencies at the user level. More information about it can be found on pip [documentation](https://pip.pypa.io/en/stable/reference/pip_install/?highlight=--user#cmdoption-user). +To run unit tests, in the top level directory, just run: + + python testUpdateHostsFile.py + The `updateHostsFile.py` script, which is Python 2.7 and Python 3-compatible, will generate a unified hosts file based on the sources in the local `data/` subfolder. The script will prompt you whether it should fetch updated