From b9aa6a03b8fdae12aac7b6bc2eac1a6453e5b07e Mon Sep 17 00:00:00 2001 From: Harshavardhana Date: Mon, 23 Nov 2015 13:29:08 -0800 Subject: [PATCH] minio: Fix documentation. --- README.md | 8 ++++---- server-main.go | 4 ++-- 2 files changed, 6 insertions(+), 6 deletions(-) diff --git a/README.md b/README.md index c12e3f6d6..7b92bdb74 100644 --- a/README.md +++ b/README.md @@ -60,7 +60,7 @@ NOTE: Source installation is intended for only developers and advanced users. If you do not have a working Golang environment, please follow [Install Golang](./INSTALLGO.md). ```sh -$ go get -u github.com/minio/minio +$ GO15VENDOREXPERIMENT=1 go get -u github.com/minio/minio ``` ### How to use Minio? @@ -102,9 +102,9 @@ To configure Minio Client. $ wget https://dl.minio.io:9000/updates/2015/Nov/linux-amd64/mc $ chmod 755 mc - $ ./mc config host add localhost:9000 G5GJRH51R2HSUWYPGIX5 uxhBC1Yscut3/u81l5L8Yp636ZUk32N4m/gFASuZ - $ ./mc mb localhost/photobucket - $ ./mc cp ~/Photos... localhost/photobucket + $ ./mc config host add http://localhost:9000 G5GJRH51R2HSUWYPGIX5 uxhBC1Yscut3/u81l5L8Yp636ZUk32N4m/gFASuZ + $ ./mc mb localhost:9000/photobucket + $ ./mc cp ~/Photos... localhost:9000/photobucket Starting minio server: Listening on http://127.0.0.1:9000 diff --git a/server-main.go b/server-main.go index b556ee775..de77a054d 100644 --- a/server-main.go +++ b/server-main.go @@ -254,13 +254,13 @@ func initServer() *probe.Error { Println("\nTo configure Minio Client.") if runtime.GOOS == "windows" { Println("\n\tDownload https://dl.minio.io:9000/updates/2015/Nov/" + runtime.GOOS + "-" + runtime.GOARCH + "/mc.exe") - Println("\t$ mc.exe config host add localhost:9000 " + conf.Credentials.AccessKeyID + " " + conf.Credentials.SecretAccessKey) + Println("\t$ mc.exe config host add http://localhost:9000 " + conf.Credentials.AccessKeyID + " " + conf.Credentials.SecretAccessKey) Println("\t$ mc.exe mb localhost/photobucket") Println("\t$ mc.exe cp C:\\Photos... localhost/photobucket") } else { Println("\n\t$ wget https://dl.minio.io:9000/updates/2015/Nov/" + runtime.GOOS + "-" + runtime.GOARCH + "/mc") Println("\t$ chmod 755 mc") - Println("\t$ ./mc config host add localhost:9000 " + conf.Credentials.AccessKeyID + " " + conf.Credentials.SecretAccessKey) + Println("\t$ ./mc config host add http://localhost:9000 " + conf.Credentials.AccessKeyID + " " + conf.Credentials.SecretAccessKey) Println("\t$ ./mc mb localhost/photobucket") Println("\t$ ./mc cp ~/Photos... localhost/photobucket") }