---
# System prepended metadata

title: hound codesearch setup
tags: [Infra]

---

# hound codesearch setup
###### tags: `Infra`

## setup go
```
yum install -y wget
wget https://golang.org/dl/go1.16.8.linux-amd64.tar.gz
sudo rm -rf /usr/local/go && sudo tar -C /usr/local -xzf go1.16.8.linux-amd64.tar.gz
sudo ln -s /usr/local/go/bin/go /usr/local/bin/
```

## get the source luke
```
git clone https://github.com/hound-search/hound.git
```

## setup your go path
* https://github.com/golang/go/wiki/GOPATH

## setup
```
cd ~/git/hound
go get github.com/hound-search/hound/cmds/...


```

## check your network 
```
nc -l 80
```

## setup hound config
```
curl "https://api.github.com/users/konveyor/repos?per_page=100" | grep html_url | sort | uniq -u | sed 's|^  *"html_url":||'  | sed 's|^ ||' | sed 's|,||' | sed 's|.$|.git"|' > /tmp/gitlist


```

## REPOS
```
https://github.com/konveyor/agnosticd.git
https://github.com/konveyor/bz-github-action.git
```