diff --git a/README.md b/README.md index e0ff577e..28801bb5 100644 --- a/README.md +++ b/README.md @@ -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.