mirror of
https://github.com/StevenBlack/hosts.git
synced 2024-06-30 17:45:52 +02:00
Review of readme_template.md
Please note that this patch mothe the unit tests paragraph after dependencies installation.
This commit is contained in:
parent
93748698d5
commit
1e64d1287a
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue
Block a user