diff --git a/README.md b/README.md index 8ac237f8..bd3cd667 100644 --- a/README.md +++ b/README.md @@ -15,7 +15,10 @@ Nightingale user manual: [https://n9e.didiyun.com/](https://n9e.didiyun.com/) mkdir -p $GOPATH/src/github.com/didi cd $GOPATH/src/github.com/didi git clone https://github.com/didi/nightingale.git -cd nightingale && ./control build +cd nightingale +# export env[GOPROXY] if your network is not good +# export GOPROXY=https://mirrors.aliyun.com/goproxy/ +./control build ``` ## Team diff --git a/README_ZH.md b/README_ZH.md index cda73e57..1a1b3140 100644 --- a/README_ZH.md +++ b/README_ZH.md @@ -15,7 +15,10 @@ Nightingale是一套衍生自Open-Falcon的互联网监控解决方案,融入 mkdir -p $GOPATH/src/github.com/didi cd $GOPATH/src/github.com/didi git clone https://github.com/didi/nightingale.git -cd nightingale && ./control build +cd nightingale +# 如果网络环境不好可以尝试aliyun的mirror +# export GOPROXY=https://mirrors.aliyun.com/goproxy/ +./control build ``` ## 团队 diff --git a/control b/control index accb98c6..5aa36f04 100755 --- a/control +++ b/control @@ -142,7 +142,6 @@ build_one() build() { export GO111MODULE=on - export GOPROXY=https://mirrors.aliyun.com/goproxy/ mod=$1 if [ "x${mod}" = "x" ]; then