# 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: "NGS"
# 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:
YAML:
JSON:
Sereal:
logger:
file:
log_dir: 'logs'
file_name: 'deployment.log'
plugins:
Database:
driver: "SQLite"
database: "ngs.sqlite"
log_queries: 1
LogReport:
# route/tt to use for errors (use auto_page to avoid needing route defined)
forward_url: error
InputFile:
max_file_size: 10 # Mb
file_suffix: ".(vcf|vep|txt|zip)"
messages:
filename: >
filename format error: filenames must contain the string "n(n)-yy"
eg 1-13, H123-14, 1234-15_rf, etc