Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

how to build it by myself #628

Open
whyhideinshadow opened this issue Jul 16, 2020 · 5 comments
Open

how to build it by myself #628

whyhideinshadow opened this issue Jul 16, 2020 · 5 comments

Comments

@whyhideinshadow
Copy link

ho to build it by myself

@Loyalsoldier
Copy link
Contributor

Loyalsoldier commented Jul 16, 2020

  1. Install golang and git
  2. go get -v --insecure github.com/v2fly/domain-list-community
  3. Generate dlc.dat (without datapath option means use default data folder of this project):
    ${GOPATH:-$(go env GOPATH)}/bin/domain-list-community
    ${GOPATH:-$(go env GOPATH)}/bin/domain-list-community --datapath=/path/to/your/custom/data/directory

@WillGhost
Copy link

"v2ray.com/core/app/router"  这个模块没法直接 go get ?

@Loyalsoldier
Copy link
Contributor

"v2ray.com/core/app/router"  这个模块没法直接 go get ?

Use this one: https://github.com/v2fly/domain-list-community
And follow the guide here: https://github.com/v2fly/domain-list-community#generate-dlcdat-manually

@WillGhost
Copy link

@Loyalsoldier Thank you . Get it self URL it is OK
but why write another address in import

@Loyalsoldier
Copy link
Contributor

That's a long story.
You need to go get -insecure v2ray.com/core/app/router.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants