Build source
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?
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
so easy, thank you a lot!
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!