TroyKomodo / poll-api

api-poll.komodohype.dev

Home Page:https://poll.komodohype.dev

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

PollAPI

  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/troydota/api.poll.komodohype.dev.git
cd api.poll.komodohype.dev
  1. Build the source
go build
  1. Modify the config.
cp config.demo.yaml config.yaml && vim config.yaml
  1. Setup auto run with systemboot.
sudo cp poll-api.service /etc/systemd/system && sudo systemctl start poll-api && sudo systemctl enable poll-api

About

api-poll.komodohype.dev

https://poll.komodohype.dev

License:MIT License


Languages

Language:Go 97.7%Language:Dockerfile 2.3%