zneix / ServerGo

The 7TV API written in Golang

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

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

About

The 7TV API written in Golang

License:MIT License


Languages

Language:Go 97.3%Language:Lua 2.3%Language:Dockerfile 0.4%