# This is the main configuration file of your Dancer2 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: "DraftReporter" # The default layout to use for your application (located in # views/layouts/main.tt) layout: "main" # when the charset is set to UTF-8 Dancer2 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: "template_toolkit" engines: template: template_toolkit: start_tag: "[%" end_tag: "%]" session: Cookie: secret_key: "unclesamsonmars" Memcached: memcached_servers: "localhost:11211" JSON: # session_dir: "" # use default Sereal: # session_dir: "" # use default DBIx: # ~/perl-lib/Dancer2/Session/DBIx # dsn: "DBI:mysql:database=hilis4;mysql_read_default_file=~/.local/mysql.cnf" dbname: "hilis4" session_config: # ignored cookie_name: "draft.reporter" expires: 86400 YAML: # session_dir: "" # use default DBIC: dsn: "DBI:mysql:hilis4;mysql_read_default_file=~/.local/mysql.cnf" schema_class: "Reporter::Schema" # user: "user" # Username used to connect to the database # password: "password" # Password to connect to the database # resultset: "MySession" # DBIx::Class resultset, defaults to Session id_column: "id" data_column: "a_session"