Cloning and building
Build prerequisitesโ
You need to have the following tools installed on your computer
Unix/Linuxโ
Debian based distributions (Debian / Ubuntu / Linux Mint / elementary OS)โ
In your terminal
sudo apt-get install -y golang-go build-essential git
Enterprise based distributions (Red Hatยฎ / CentOS / CloudLinux / Fedora)โ
In your terminal
sudo yum install -y golang git
Windowsโ
Installing Gitโ
- Open Git Downloads page
- Download the Windows Installer(.exe)
- Run the downloaded Git-v.exe Installer
Installing Goโ
- Open Go Downloads page
- Download the Windows Installer(.msi)
- Run the downloaded MSI Installer
Mac OS Xโ
In your terminal
/bin/sh -c "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install.sh)"
brew install git
brew install go
Getting the sourceโ
In your terminal
# Clone kwatch repository
git clone https://github.com/abahmed/kwatch
Build kwatchโ
In your terminal
go build