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?
已存檔?
是復刻?
已鎖定?
是鏡像?
是私有?