Added instructions related to GOPATH (#1274)

Added explicit instructions in terms of where to place the cloned repo and initiate the build, without which the it will (obviously) not work
This commit is contained in:
Abhishek Gupta
2018-10-23 02:47:53 +05:30
committed by Reed Allman
parent 93777daff1
commit e8e6ed2fd0

View File

@@ -51,10 +51,24 @@ asking for suggestions on how to address the documentation part.
## How to build and get up and running
### Build Dependencies ###
- [Go](https://golang.org/doc/install)
- [Dep](https://github.com/golang/dep)
### Getting the Repository ###
`$ git clone https://github.com/fnproject/fn.git $GOPATH/src/github.com/fnproject/fn`
Note that Go will require the exact path given above in order to build
### Build
Requires Go >= 1.10.0.
Change to the correct directory (if not already there):
$ cd $GOPATH/src/github.com/fnproject/fn
The first time after you clone or after dependencies get updated, run:
```sh