Update documentation on new dependency management (#195)

This commit is contained in:
Brendan LE GLAUNEC
2019-05-11 16:33:16 +02:00
committed by GitHub
parent 3b082ea736
commit 1ec3a5fe44
2 changed files with 8 additions and 14 deletions
+4 -11
View File
@@ -76,23 +76,16 @@ Only use this solution if for some reason using docker is not an option for you
### Dependencies
* `go`
* `dep`
#### Installing dep
* OSX: `brew install dep` and `brew upgrade dep`
* Others: Download the release package for your OS [here](https://github.com/golang/dep/releases)
* `go` (> `1.10`)
### Steps to install
Make sure you installed the dependencies mentionned above.
Make sure you installed the dependencies mentionned above, and that you have Go modules enabled (`GO111MODULE=on`)
1. `go get github.com/ullaakut/cameradar`
2. `cd $GOPATH/src/github.com/ullaakut/cameradar`
3. `dep ensure`
4. `cd cameradar`
5. `go install`
3. `cd cameradar`
4. `go install`
The `cameradar` binary is now in your `$GOPATH/bin` ready to be used. See command line options [here](#command-line-options).