Update documentation on new dependency management (#200)
This commit is contained in:
committed by
GitHub
parent
c249be1cc0
commit
1d5d606085
@@ -248,14 +248,12 @@ Your image will be called `cameradar` and NOT `ullaakut/cameradar`.
|
|||||||
|
|
||||||
#### Go build
|
#### Go build
|
||||||
|
|
||||||
To build the project without docker:
|
Make sure you installed the [dependencies](#dependencies), and that you have Go modules enabled (`GO111MODULE=on`)
|
||||||
|
|
||||||
1. Install dep
|
1. `go get github.com/ullaakut/cameradar`
|
||||||
* OSX: `brew install dep` and `brew upgrade dep`
|
2. `cd $GOPATH/src/github.com/ullaakut/cameradar`
|
||||||
* Others: Download the release package for your OS [here](https://github.com/golang/dep/releases)
|
3. `cd cameradar`
|
||||||
2. `dep ensure`
|
4. `go build`
|
||||||
3. `go build` to build the library
|
|
||||||
4. `cd cameradar && go build` to build the binary
|
|
||||||
|
|
||||||
The cameradar binary is now in the root of the directory.
|
The cameradar binary is now in the root of the directory.
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user