From 979309148e862c66be83d649b5185c4a9604cd8c Mon Sep 17 00:00:00 2001 From: Harshavardhana Date: Thu, 4 Apr 2019 13:36:31 -0700 Subject: [PATCH] Add doc updates for new go1.12 installation (#7486) --- CONTRIBUTING.md | 9 ++++----- README.md | 4 ++-- 2 files changed, 6 insertions(+), 7 deletions(-) diff --git a/CONTRIBUTING.md b/CONTRIBUTING.md index 089e9130b..67944a0c5 100644 --- a/CONTRIBUTING.md +++ b/CONTRIBUTING.md @@ -10,15 +10,14 @@ Start by forking the Minio GitHub repository, make changes in a branch and then Fork [Minio upstream](https://github.com/minio/minio/fork) source repository to your own personal repository. Copy the URL of your Minio fork (you will need it for the `git clone` command below). ```sh -$ mkdir -p $GOPATH/src/github.com/minio -$ cd $GOPATH/src/github.com/minio -$ git clone -$ cd minio +$ git clone https://github.com/minio/minio +$ go install -v +$ ls /go/bin/minio ``` ### Set up git remote as ``upstream`` ```sh -$ cd $GOPATH/src/github.com/minio/minio +$ cd minio $ git remote add upstream https://github.com/minio/minio $ git fetch upstream $ git merge upstream/master diff --git a/README.md b/README.md index 0d968fad7..571204f28 100644 --- a/README.md +++ b/README.md @@ -83,10 +83,10 @@ service minio start ``` ## Install from Source -Source installation is only intended for developers and advanced users. If you do not have a working Golang environment, please follow [How to install Golang](https://docs.minio.io/docs/how-to-install-golang). +Source installation is only intended for developers and advanced users. If you do not have a working Golang environment, please follow [How to install Golang](https://golang.org/doc/install). Minimum version required is [go1.12](https://golang.org/dl/#stable) ```sh -go get -u github.com/minio/minio +GO111MODULE=on go get github.com/minio/minio ``` ## Allow port access for Firewalls