joke

The web console for godns

  • Owner: kenshinx/joke
  • Platform:
  • License:: MIT License
  • Category::
  • Topic:
  • Like:
    0
      Compare:

Github stars Tracking Chart

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

Main metrics

Overview
Name With Ownerkenshinx/joke
Primary LanguageHTML
Program languageGo (Language Count: 4)
Platform
License:MIT License
所有者活动
Created At2013-08-14 15:09:33
Pushed At2018-04-11 01:37:41
Last Commit At2018-04-11 09:37:40
Release Count0
用户参与
Stargazers Count32
Watchers Count6
Fork Count23
Commits Count31
Has Issues Enabled
Issues Count3
Issue Open Count0
Pull Requests Count2
Pull Requests Open Count0
Pull Requests Close Count0
项目设置
Has Wiki Enabled
Is Archived
Is Fork
Is Locked
Is Mirror
Is Private