Permalink
Fetching contributors…
Cannot retrieve contributors at this time
executable file 46 lines (38 sloc) 1.09 KB
# This is the main configuration file of your Dancer app
# env-related settings should go to environments/$env.yml
# all the settings in this file will be loaded at Dancer's startup.
# Your application's name
appname: "url"
# The default layout to use for your application (located in
# views/layouts/main.tt)
layout: "main"
# when the charset is set to UTF-8 Dancer will handle for you
# all the magic of encoding and decoding. You should not care
# about unicode within your app when this setting is set (recommended).
charset: "UTF-8"
# template engine
# simple: default and very basic template engine
# template_toolkit: TT
#template: "simple"
template: "template_toolkit"
engines:
template_toolkit:
encoding: 'utf8'
start_tag: '<%'
end_tag: '%>'
CACHE_SIZE: 64
STAT_TTL: 60
COMPILE_EXT: '.ttc'
COMPILE_DIR: '/tmp/ttc'
store:
engine: redis
keyword: redis
class: Dancer::Plugin::Redis
plugins:
Redis:
server: '127.0.0.1:6379'
encoding: utf8
debug: 0
Mongo:
host: localhost
db_name: sck