The web console for godns
$ go get github.com/kenshinx/joke $ go get github.com/astaxie/bee $ cd $GOPATH/src/github.com/kenshinx/joke $ bee run joke Compile first
$ go get github.com/kenshinx/joke $ cd $GOPATH/src/github.com/kenshinx/joke $ go build Deploy strongly suggest supervisord.
[program:joke] command=/var/joke/joke autostart=true autorestart=true user=joke directory=/var/joke stdout_logfile_maxbytes = 50MB stdout_logfile_backups = 20 stdout_logfile = /var/log/joke.log conf/app.conf
Override the default location with the -c flag : joke -c path/to/config.
#[joke] appname = Joke httpaddr = "127.0.0.1" httpport = 1223 runmode = "dev" autorender = false autorecover = true viewspath = "views" #[auth] #username:password. #basic_auth = "joke:hello" #[redis] redisaddr = "127.0.0.1:6379" redisdb = 0 redispassword = "" bindkey = "godns:hosts" #[log] stdout = true logfile = "logs/joke.log" logrorate = true Support http basic auth
