From 1d5d6060852d2e94b0889f651360660c03f0db0e Mon Sep 17 00:00:00 2001 From: Brendan Le Glaunec Date: Tue, 21 May 2019 07:31:18 +0200 Subject: [PATCH] Update documentation on new dependency management (#200) --- README.md | 12 +++++------- 1 file changed, 5 insertions(+), 7 deletions(-) diff --git a/README.md b/README.md index c953a53..3691c98 100644 --- a/README.md +++ b/README.md @@ -248,14 +248,12 @@ Your image will be called `cameradar` and NOT `ullaakut/cameradar`. #### 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 - * OSX: `brew install dep` and `brew upgrade dep` - * Others: Download the release package for your OS [here](https://github.com/golang/dep/releases) -2. `dep ensure` -3. `go build` to build the library -4. `cd cameradar && go build` to build the binary +1. `go get github.com/ullaakut/cameradar` +2. `cd $GOPATH/src/github.com/ullaakut/cameradar` +3. `cd cameradar` +4. `go build` The cameradar binary is now in the root of the directory.