chirpstack-network-server icon indicating copy to clipboard operation
chirpstack-network-server copied to clipboard

Build source

Open kruit opened this issue 9 years ago • 3 comments

Hello Orne, hello guys,

Trying to build the loraserver with make as I'm not familiar with docker. The compiler stumbles on the first line with go-generate command in main.go with a message: cmd/loraserver/main.go:1: running "go-bindata": exec: "go-bindata": executable file not found in $PATH. It's a clean project just after git clone, the bin directory is empty. Compilation without the go-generate instruction claims as expected about a non-existent 'loraserver/internal/migrations' package... Please, could you point me the right way to compile?

kruit avatar Apr 26 '17 11:04 kruit

please install go-bindata.

go get -u -v github.com/jteeuwen/go-bindata

then go to $GOPATH. do this:

go install github.com/jteeuwen/go-bindata

utopiaprince avatar Apr 28 '17 01:04 utopiaprince

so easy, thank you a lot!

kruit avatar Apr 28 '17 20:04 kruit

I am trying to do it inside a docker container but it doesn't seem to work from Dockerfile:

WORKDIR $PATH
RUN go get -u -v github.com/jteeuwen/go-bindata
RUN go install github.com/jteeuwen/go-bindata

Any idea?

Thanks!

odyslam avatar Jul 24 '19 11:07 odyslam