There are two configuration files required for this application to work properly:
- The main configuration file is heavily commented to explain each configuration option.
- The token configuration file is here to give a fine grain control over the rights of the HTTP server.
To get started, simply copy those files and customise them as needed.
cp config.example.yml config.yml
cp token.exemple.yml token.yml
curl -L https://github.com/odwrtw/polochon/releases/download/latest/polochon_$(go env GOOS)_$(go env GOARCH) -o polochon
chmod +x polochon
./polochon -configPath=/home/user/config.yml -tokenPath=/home/user/token.yml
cd app
go build *.go