Skip to content
Snippets Groups Projects
Commit 829bd927 authored by Malte Bauch's avatar Malte Bauch
Browse files

added GOPRIVATE to install instruction

parent c926f8a4
No related branches found
No related tags found
1 merge request!144Update readme
Pipeline #68200 passed with warnings
...@@ -41,6 +41,7 @@ Any device directly configured by `goSDN` ...@@ -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: 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 ```sh
> git config --global url."git@code.fbi.h-da.de:".insteadOf "https://code.fbi.h-da.de" > 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 > 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 ...@@ -48,6 +49,7 @@ To install the development version you need to clone the repo and use `go instal
```sh ```sh
# If you haven't cloned the repo yet # 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" > 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 > cd $GOPATH/src
> git clone git@code.fbi.h-da.de:cocsn/gosdn.git > git clone git@code.fbi.h-da.de:cocsn/gosdn.git
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment