conf-default

This commit is contained in:
life
2014-10-22 17:04:37 +08:00
parent 593d2c2965
commit 762f6b554d

View File

@ -4,7 +4,7 @@
http.port=80 http.port=80
site.url=http://localhost site.url=http://localhost # or http://x.com:8080, http://www.xx.com:9000
# the administrator username # the administrator username
adminUsername=admin adminUsername=admin
@ -13,33 +13,19 @@ adminUsername=admin
db.host=localhost db.host=localhost
db.port=27017 db.port=27017
db.dbname=leanote # required db.dbname=leanote # required
db.username=root # if not exists, please leave blank db.username=root # if not exists, please leave it blank
db.password=root123 # if not exists, please leave blank db.password=root123 # if not exists, please leave it blank
# or you can set the mongdb url for more complex needs the format is: # or you can set the mongdb url for more complex needs the format is:
# mongodb://myuser:mypass@localhost:40001,otherhost:40001/mydb # mongodb://myuser:mypass@localhost:40001,otherhost:40001/mydb
# db.url=mongodb://root:root123@localhost:27017/leanote # db.url=mongodb://root:root123@localhost:27017/leanote
# email # You Must Change It !! About Security!!
email.host= app.secret=V85ZzBeTnzpsHyjQX4zukbQ8qqtju9y2aDM55VWxAH9Qop19poekx3xkcDVvrD0y
email.port=25
email.username=
email.password=
# open for register?
register.open=true
register.sharedUserId=5368c1aa99c37b029d000001
register.sharedUserShareNotebookId=5368c1aa99c37b029d000002
register.welcomeNoteId=5368c1b919807a6f95000000
#--------------------------------
# revel config
# for dev
#--------------------------------
app.name=leanote app.name=leanote
app.secret=V85ZzBeTnzpsHyjQX4zukbQ8qqtju9y2aDM55VWxAH9Qop19poekx3xkcDVvrD0y
http.addr= http.addr=
http.ssl=false http.ssl=false
cookie.domain=
cookie.httponly=false cookie.httponly=false
cookie.prefix=LEANOTE cookie.prefix=LEANOTE
cookie.secure=false cookie.secure=false
@ -47,6 +33,11 @@ format.date=01/02/2006
format.datetime=01/02/2006 15:04 format.datetime=01/02/2006 15:04
results.chunked=false results.chunked=false
#--------------------------------
# revel config
# for dev
#--------------------------------
log.trace.prefix = "TRACE " log.trace.prefix = "TRACE "
log.info.prefix = "INFO " log.info.prefix = "INFO "
log.warn.prefix = "WARN " log.warn.prefix = "WARN "