Add doc updates for new go1.12 installation (#7486)

master
Harshavardhana 6 years ago committed by GitHub
parent 082bd5f31f
commit 979309148e
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
  1. 9
      CONTRIBUTING.md
  2. 4
      README.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). 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 ```sh
$ mkdir -p $GOPATH/src/github.com/minio $ git clone https://github.com/minio/minio
$ cd $GOPATH/src/github.com/minio $ go install -v
$ git clone <paste saved URL for personal forked minio repo> $ ls /go/bin/minio
$ cd minio
``` ```
### Set up git remote as ``upstream`` ### Set up git remote as ``upstream``
```sh ```sh
$ cd $GOPATH/src/github.com/minio/minio $ cd minio
$ git remote add upstream https://github.com/minio/minio $ git remote add upstream https://github.com/minio/minio
$ git fetch upstream $ git fetch upstream
$ git merge upstream/master $ git merge upstream/master

@ -83,10 +83,10 @@ service minio start
``` ```
## Install from Source ## 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 ```sh
go get -u github.com/minio/minio GO111MODULE=on go get github.com/minio/minio
``` ```
## Allow port access for Firewalls ## Allow port access for Firewalls

Loading…
Cancel
Save