Skip to content

kenshinx/joke

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

31 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Joke

The web console for godns

Running

Developement

$ go get github.com/kenshinx/joke $ go get github.com/astaxie/bee $ cd $GOPATH/src/github.com/kenshinx/joke $ bee run joke 

http://127.0.0.1:1223

Productive

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 

Configuration

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 

Auth

Support http basic auth

Screenshot

http://127.0.0.1:1223

joke

Dependence

About

The web console for godns

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 2

  •  
  •