Merge pull request #639 from Loyalsoldier/update-readme

Refine README: specify more specific `data` directory
This commit is contained in:
Richard Chen 2020-07-17 16:58:35 +08:00 committed by GitHub
commit b024cce6e0
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -68,7 +68,7 @@ Each file in the `data/` directory can be used as a rule in this format: `geosit
- Install `golang` and `git`
- Download and install project code: `go get -u -v --insecure github.com/v2ray/domain-list-community`
- Generate `dlc.dat` (without `datapath` option means to use `data` directory of this project):
- Generate `dlc.dat` (without `datapath` option means to use `data` directory of this repository in `$GOPATH`):
- `$(go env GOPATH)/bin/domain-list-community`
- `$(go env GOPATH)/bin/domain-list-community --datapath=/path/to/your/custom/data/directory`