mirror of
https://github.com/v2fly/domain-list-community.git
synced 2024-11-17 09:34:51 +02:00
Merge pull request #632 from Loyalsoldier/update-readme
Add dlc.dat generation method
This commit is contained in:
commit
055d6a54dd
@ -64,6 +64,14 @@ Each file in the `data/` directory can be used as a rule in this format: `geosit
|
||||
}
|
||||
```
|
||||
|
||||
## Generate `dlc.dat` manually
|
||||
|
||||
- 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):
|
||||
- `$(go env GOPATH)/bin/domain-list-community`
|
||||
- `$(go env GOPATH)/bin/domain-list-community --datapath=/path/to/your/custom/data/directory`
|
||||
|
||||
## Structure of data
|
||||
|
||||
All data are under `data/` directory. Each file in the directory represents a sub-list of domains, named by the file name. File content is in the following format.
|
||||
|
Loading…
Reference in New Issue
Block a user