You can download Gohan binary for your platfrom from github release page.
- Download Gohan Release
- Start server:
./gohan server --config-file etc/gohan.yaml
- Install GO >= 1.8
- go get github.com/cloudwan/gohan
wget -qO - https://deb.packager.io/key | sudo apt-key add -
echo "deb https://deb.packager.io/gh/cloudwan/gohan trusty master" | sudo tee /etc/apt/sources.list.d/gohan.list
sudo apt-get update
sudo apt-get install gohan
sudo rpm --import https://rpm.packager.io/key
echo "[gohan]
name=Repository for cloudwan/gohan application.
baseurl=https://rpm.packager.io/gh/cloudwan/gohan/centos6/master
enabled=1" | sudo tee /etc/yum.repos.d/gohan.repo
sudo yum install gohan
wget -qO - https://deb.packager.io/key | sudo apt-key add -
echo "deb https://deb.packager.io/gh/cloudwan/gohan wheezy master" | sudo tee /etc/apt/sources.list.d/gohan.list
sudo apt-get update
sudo apt-get install gohan