joke

The web console for godns

  • 所有者: kenshinx/joke
  • 平台:
  • 许可证:
  • 分类:
  • 主题:
  • 喜欢:
    0
      比较:

Github星跟踪图

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

主要指标

概览
名称与所有者kenshinx/joke
主编程语言HTML
编程语言Go (语言数: 4)
平台
许可证
所有者活动
创建于2013-08-14 15:09:33
推送于2018-04-11 01:37:41
最后一次提交2018-04-11 09:37:40
发布数0
用户参与
星数32
关注者数6
派生数23
提交数31
已启用问题?
问题数3
打开的问题数0
拉请求数2
打开的拉请求数0
关闭的拉请求数0
项目设置
已启用Wiki?
已存档?
是复刻?
已锁定?
是镜像?
是私有?