mirror of
https://github.com/fnproject/fn.git
synced 2022-10-28 21:29:17 +03:00
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:
committed by
Reed Allman
parent
93777daff1
commit
e8e6ed2fd0
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user