repositorypackage
0.2.3-alpha
Repository: https://github.com/schumix/webadmin.git
Documentation: pkg.go.dev
# README
Schumix Webadmin
LICENCE: GNU LGPL 3
Required packages/programs for compilation/running without building
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.
Packages
- SQLite go binding:
go get github.com/mattn/go-sqlite3
- Backend web services:
go get github.com/hoisie/web
- Session manager:
go get github.com/mattn/go-session-manager
- Go version comparer:
go get github.com/Jackneill/gosemver
Configuration
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".
Running
You can run it by:
go run *.go
Access the site at localhost:45987
with default port.
You can change the site's default settings in config.json
.