Add step to remove old installation, and separate boxes for order based or booking based installation
diff --git a/README.md b/README.md index f6454c1..8cce3aa 100644 --- a/README.md +++ b/README.md
@@ -6,7 +6,7 @@ ## Testing Client Before using either the order based or booking based test utilites, the Go -programming language must be installed on your workstation. A precompiled Go +programming language must be installed on your workstation. A precompiled Go binary for your operating system can be [found here](https://golang.org/dl/) This guide will assume you're using the default GOPATH and subsequent GOBIN. @@ -30,16 +30,27 @@ source ~/.bashrc +Remove any files from a previous installation + + rm -rf $HOME/go/src/github.com/maps-booking-v3/ + Next, retrieve the utilities from the [maps-booking-v3 repository](https://maps-booking.googlesource.com/) git clone https://maps-booking.googlesource.com/maps-booking-v3 $HOME/go/src/github.com/maps-booking-v3/ -Lastly, download all dependencies and install the tool. +Download all dependencies cd $HOME/go go get -d ./... - go install $HOME/go/src/github.com/maps-booking-v3/testclient/<orderBasedTestClient.go or bookingBasedTestClient.go> + +If installing the order based test client, run + + go install $HOME/go/src/github.com/maps-booking-v3/testclient/orderBasedTestClient.go + +Or the booking based test client, run + + go install $HOME/go/src/github.com/maps-booking-v3/testclient/bookingBasedTestClient.go ### Installing the utilities with Windows Powershell @@ -57,16 +68,27 @@ $env:GOPATH = (go env GOPATH) $env:GOBIN = (go env GOPATH) + "\bin" +Remove any files from a previous installation + + rd -r $env:HOME\go\src\github.com\maps-booking-v3\ + Next, retrieve the utilities from the [maps-booking-v3 repository](https://maps-booking.googlesource.com/) git clone https://maps-booking.googlesource.com/maps-booking-v3 $env:HOME\go\src\github.com\maps-booking-v3\ -Lastly, download all dependencies and install the tool. +Download all dependencies cd $env:HOME\go go get -d .\... - go install $env:HOME\go\src\github.com\maps-booking-v3\testclient\<orderBasedTestClient.go or bookingBasedTestClient.go> + +If installing the order based test client, run + + go install $env:HOME\go\src\github.com\maps-booking-v3\testclient\orderBasedTestClient.go + +Or the booking based test client, run + + go install $env:HOME\go\src\github.com\maps-booking-v3\testclient\bookingBasedTestClient.go ### Using the utilities