v1.0 use revel 0.12

This commit is contained in:
lealife
2015-06-15 19:13:00 +08:00
parent 04c339896b
commit ab4b8b77a3
9 changed files with 18 additions and 82 deletions

View File

@ -9,7 +9,7 @@ site.url=http://localhost:9000 # or http://x.com:8080, http://www.xx.com:9000
# mongdb
db.host=localhost
db.port=27017
db.dbname=leanote # required
db.dbname=leanote9 # required
db.username= # if not exists, please leave it blank
db.password= # if not exists, please leave it blank
# or you can set the mongdb url for more complex needs the format is:
@ -17,7 +17,7 @@ db.password= # if not exists, please leave it blank
# db.url=mongodb://root:root123@localhost:27017/leanote
# You Must Change It !! About Security!!
app.secret=V85ZzBeTnzpsHyjQX4zukbQaDM55VWxAH9Qop19poekx3xkcDVvrD0y
app.secret=V85ZzBeTnzpsHyjQX4zukbQ8qqtju9y2aDM55VWxAH9Qop19poekx3xkcDVvrD0y
#--------------------------------
# revel config
@ -42,14 +42,14 @@ log.error.prefix = "ERROR "
# The default language of this application.
i18n.default_language=en
module.static=github.com/revel/revel/modules/static
module.static=github.com/revel/modules/static
[dev]
mode.dev=true
results.pretty=true
watch=true
module.testrunner = github.com/revel/revel/modules/testrunner
module.testrunner = github.com/revel/modules/testrunner
log.trace.output = stderr
log.info.output = stderr