Skip to content

Schumix/Webadmin

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Schumix Webadmin Bitdeli Badge

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/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

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:
./run.sh
Access the site at localhost:45987 with default port.
You can change the site's default settings in config.json.