go
programming language
You can install it by:
Debian-based:sudo apt-get install golang
Archlinux:sudo pacman -S go
- Setup
GOPATH
mkdir ~/.gopath
export GOPATH=~/.gopath
You can change~/.gopath
to whatever you want.
- SQLite go binding:
go get github.com/Schumix/go-sqlite3
- Go version comparer:
go get github.com/Schumix/gosemver
- Backend web services:
go get github.com/hoisie/web
- Session manager:
go get github.com/mattn/go-session-manager
The configuration file (config.json
) can be found at the root folder.
"Timeout" : "30m"
The duration of time which the bot should try to reconnect to the server in case the connection is lost. Valid time units are "ns", "us" (or "µs"), "ms", "s", "m", "h".
You can run it by:
./run.sh
Access the site at localhost:45987
with default port.
You can change the site's default settings in config.json
.