https://github.com/zneix/servergo
The 7TV API written in Golang
https://github.com/zneix/servergo
Last synced: 5 months ago
JSON representation
The 7TV API written in Golang
- Host: GitHub
- URL: https://github.com/zneix/servergo
- Owner: zneix
- License: mit
- Created: 2021-05-30T16:27:23.000Z (about 5 years ago)
- Default Branch: master
- Last Pushed: 2021-05-29T17:27:54.000Z (about 5 years ago)
- Last Synced: 2025-08-20T13:59:56.108Z (11 months ago)
- Size: 6.96 MB
- Stars: 0
- Watchers: 0
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.MD
- License: LICENSE
Awesome Lists containing this project
README
# SevenTv
1. Install golang
```bash
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
```
2. Clone the repo
```bash
cd /opt/
git clone https://github.com/SevenTV/ServerGo.git
cd seventv
```
3. Build the source
```bash
go build
```
4. Modify the config.
```bash
cp demo.yaml config.yaml && vim config.yaml
```
6. Setup auto run with systemboot.
```bash
sudo cp seventv.service /etc/systemd/system && sudo systemctl start seventv && sudo systemctl enable seventv
```