/ServerGo

The 7TV API written in Golang

Primary LanguageGoMIT LicenseMIT

SevenTv

  1. Install golang
wget https://golang.org/dl/go1.16.2.linux-amd64.tar.gz
sudo tar -C /usr/local -xzf go1.16.2.linux-amd64.tar.gz
export PATH=$PATH:/usr/local/go/bin
  1. Clone the repo
cd /opt/
git clone https://github.com/SevenTV/ServerGo.git
cd seventv
  1. Build the source
go build
  1. Modify the config.
cp demo.yaml config.yaml && vim config.yaml
  1. Setup auto run with systemboot.
sudo cp seventv.service /etc/systemd/system && sudo systemctl start seventv && sudo systemctl enable seventv