Merge pull request #5986 from SDBrett/contributing-paths

Updated github and directory paths for repo change to goharbor
This commit is contained in:
Steven Zou 2018-10-10 11:32:36 +08:00 committed by GitHub
commit 4e489e2df7
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -19,11 +19,11 @@ Fork the Harbor repository on GitHub to your personal account.
```
#Set golang environment
export GOPATH=$HOME/go
mkdir -p $GOPATH/src/github.com/vmware
mkdir -p $GOPATH/src/github.com/goharbor
#Get code
go get github.com/vmware/harbor
cd $GOPATH/src/github.com/vmware/harbor
go get github.com/goharbor/harbor
cd $GOPATH/src/github.com/goharbor/harbor
#Track repository under your personal account
git config push.default nothing # Anything to avoid pushing to vmware/harbor by default
@ -159,7 +159,7 @@ Fork the Harbor repository and clone the code to your local workspace. Per Go's
Define a local working directory:
```
working_dir=$GOPATH/src/github.com/vmware
working_dir=$GOPATH/src/github.com/goharbor
```
Set user to match your github profile name: