From 829bd927e010447df4e5107eadee24b5b3964a09 Mon Sep 17 00:00:00 2001 From: Malte Bauch <malte.bauch@stud.h-da.de> Date: Wed, 14 Apr 2021 16:35:42 +0000 Subject: [PATCH] added GOPRIVATE to install instruction --- README.md | 2 ++ 1 file changed, 2 insertions(+) diff --git a/README.md b/README.md index 8bdcfddc7..9ae2bb61f 100644 --- a/README.md +++ b/README.md @@ -41,6 +41,7 @@ Any device directly configured by `goSDN` You can install the latest release of `goSDN` locally using the `go get` command. Since the repository and some dependencies are not publicly available you have to modify your git config first: ```sh > git config --global url."git@code.fbi.h-da.de:".insteadOf "https://code.fbi.h-da.de" +> go env -w GOPRIVATE=code.fbi.h-da.de/cocsn/* > go get code.fbi.h-da.de/cocsn/gosdn/cmd/gosdn ``` @@ -48,6 +49,7 @@ To install the development version you need to clone the repo and use `go instal ```sh # If you haven't cloned the repo yet > git config --global url."git@code.fbi.h-da.de:".insteadOf "https://code.fbi.h-da.de" +> go env -w GOPRIVATE=code.fbi.h-da.de/cocsn/* > cd $GOPATH/src > git clone git@code.fbi.h-da.de:cocsn/gosdn.git -- GitLab