Skip to content

Commit 0dc2502

Browse files
committed
[FAB-4738] Add notes on PATH and GOROOT
As described in [FAB-4738], development environment should have PATH and GOROOT environment variables set properly for behave tests to work. This patchset adds some direction for them to the document for the development environment. Change-Id: Idd0935e89bf321c85f042e67c629f1cde60b7139 Signed-off-by: Taku Shimosawa <[email protected]>
1 parent 43dbb26 commit 0dc2502

File tree

2 files changed

+10
-0
lines changed

2 files changed

+10
-0
lines changed

bddtests/README.md

+6
Original file line numberDiff line numberDiff line change
@@ -62,6 +62,12 @@ make clean
6262
make peer
6363
```
6464

65+
The peer executable will be located in the build/bin folder. Make sure that your PATH enviroment variable contains the location.
66+
Execute the following command if necessary.
67+
```
68+
export PATH=$PATH:$GOPATH/src/github.com/hyperledger/fabric/build/bin
69+
```
70+
6571
The behave system also uses several docker containers. Execute the following commands to create the required docker containers.
6672

6773
```

docs/source/dev-setup/devenv.rst

+4
Original file line numberDiff line numberDiff line change
@@ -71,6 +71,10 @@ Make sure you have properly setup your Host's `GOPATH environment
7171
variable <https://github.com/golang/go/wiki/GOPATH>`__. This allows for
7272
both building within the Host and the VM.
7373

74+
In case you installed Go into a different location from the standard one
75+
your Go distribution assumes, make sure that you also set `GOROOT
76+
environment variable <https://golang.org/doc/install#install>`__.
77+
7478
Note to Windows users
7579
^^^^^^^^^^^^^^^^^^^^^
7680

0 commit comments

Comments
 (0)