From e60a234ba3dfc926848ded654a1ad11b62214402 Mon Sep 17 00:00:00 2001 From: annelausf <90939451+annelausf@users.noreply.github.com> Date: Fri, 24 Sep 2021 17:33:15 -0700 Subject: [PATCH 1/2] Update README.md Checking that GO111MODULE="auto" helps prevent the error that package 'github.com/dgraph-io/badger/v2' cannot be found. --- README.md | 2 ++ 1 file changed, 2 insertions(+) diff --git a/README.md b/README.md index 98e8ba63..429b00fa 100644 --- a/README.md +++ b/README.md @@ -59,6 +59,8 @@ $GOPATH/bin/sloop When complete, you should have a running Sloop version accessing the current context from your kubeConfig. Just point your browser at http://localhost:8080/ +**NOTE**: Before running ```make```, run ```go env``` and check that the module environment variable is set to ```GO111MODULE=auto```. If it is not run ```go env -w GO111MODULE=auto``` and then ```make```. + Other makefile targets: * *docker*: Builds a Docker image. From 0bce59a4fdeefe1f3e85531631e9d3d58f2a8d9b Mon Sep 17 00:00:00 2001 From: annelausf <90939451+annelausf@users.noreply.github.com> Date: Mon, 27 Sep 2021 14:41:39 -0700 Subject: [PATCH 2/2] Update README.md --- README.md | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/README.md b/README.md index 429b00fa..e5fa2b91 100644 --- a/README.md +++ b/README.md @@ -53,14 +53,13 @@ mkdir -p $GOPATH/src/github.com/salesforce cd $GOPATH/src/github.com/salesforce git clone https://github.com/salesforce/sloop.git cd sloop +go env -w GO111MODULE=auto make $GOPATH/bin/sloop ``` When complete, you should have a running Sloop version accessing the current context from your kubeConfig. Just point your browser at http://localhost:8080/ -**NOTE**: Before running ```make```, run ```go env``` and check that the module environment variable is set to ```GO111MODULE=auto```. If it is not run ```go env -w GO111MODULE=auto``` and then ```make```. - Other makefile targets: * *docker*: Builds a Docker image.