Dancer

 view release on metacpan or  search on metacpan

bin/dancer  view on Meta::CPAN


",

"404.html" => <<EOH,
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
        "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html>
<head>
<title>Error 404</title>
<link rel="stylesheet" href="/css/error.css" />
<meta http-equiv="Content-type" content="text/html; charset=UTF-8" />
</head>
<body>
<h1>Error 404</h1>
<div id="content">
<h2>Page Not Found</h2><p>Sorry, this is the void.</p>
</div>
<div id="footer">
Powered by <a href="http://perldancer.org/">Dancer</a>.
</div>
</body>
</html>
EOH

"500.html" => <<EOH,
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
        "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html>
<head>
<title>Error 500</title>
<link rel="stylesheet" href="/css/error.css" />
<meta http-equiv="Content-type" content="text/html; charset=UTF-8" />
</head>
<body>
<h1>Error 500</h1>
<div id="content">
<h2>Internal Server Error</h2><p>Wooops, something went wrong</p>
</div>
<div id="footer">
Powered by <a href="http://perldancer.org/">Dancer</a>.
</div>
</body>
</html>
EOH

'config.yml' =>

"# 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: \"$name\"

# 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:
#     start_tag: '[%'
#     end_tag:   '%]'

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

",

'jquery.min.js' => jquery_minified(),

'MANIFEST.SKIP' => manifest_skip(),

'development.yml' =>
"# configuration file for development environment

# the logger engine to use
# console: log messages to STDERR (your console where you started the
#          application server)
# file:    log message to a file in log/
logger: \"console\"

# the log level for this environment
# core is the lowest, it shows Dancer's core log messages as well as yours
# (debug, info, warning and error)
log: \"core\"

# Should Dancer consider warnings as critical errors?
warnings: 1

# Should Dancer show a stacktrace when an error is caught?
show_errors: 1

",

'production.yml' =>
'# configuration file for production environment

# only log warning and error messages
log: "warning"

# log message to a file in logs/
logger: "file"

# don\'t consider warnings critical
warnings: 0

# hide errors 
show_errors: 0



( run in 0.860 second using v1.01-cache-2.11-cpan-39bf76dae61 )