# 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: "Dancer::SearchApp"

# The default layout to use for your application (located in
# views/layouts/bootstrap3.tt)
layout: "bootstrap3"

# 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:
     start_tag: '<%'
     end_tag:   '%>'
     debug: 1

plack_middlewares:
    -
        - Pod
        - path
        - "^/pod/"
        - root
        - "./pod/"

# For session support enable the following line and see Dancer::Session
# session: "YAML"

elastic_search:
    home: "./elasticsearch-2.1.1/"
    index: "dancer-searchapp"

# End of file