hound icon indicating copy to clipboard operation
hound copied to clipboard

installation instructions don't work

Open undergraver opened this issue 3 years ago • 1 comments

Hi,

I am not familiar with go and its particularities. I find the configuration tutorial lacking some bridge for the less accustomed to go language.

My version of go:

# go version
go version go1.18.2 linux/amd64
#

When I try this I get an error:

# go get github.com/hound-search/hound/cmds/...
go: go.mod file not found in current directory or any parent directory.
        'go get' is no longer supported outside a module.
        To build and install a command, use 'go install' with a version,
        like 'go install example.com/cmd@latest'
        For more information, see https://golang.org/doc/go-get-install-deprecation
        or run 'go help get' or 'go help install'.
#

Can somebody help me installing this? I promise I will do a pull-request.

undergraver avatar Jun 02 '22 11:06 undergraver

Hi there,

I ran into the same issues today. The thing that worked for me is the following:

git clone https://github.com/hound-search/hound.git
cd hound
go build ./cmds/hound
go build ./cmds/houndd
sudo mv hound houndd /usr/local/go/bin/

You might have to change the path of the last command if you installed Go somewhere else on your system. I hope this helps!

wilricknl avatar Jun 06 '22 15:06 wilricknl