Dancer2::Core::Runner - Top-layer class to start a dancer app
version 0.04
Runs Dancer2 app.
Inherits from Dancer2::Core::Role::Config.
The environment string. The options, in this order, are:
DANCER_ENVIRONMENT
PLACK_ENV
development
Postponed hooks will be applied at the end, when the hookable objects are instantiated, not before.
The path to the caller script that is starting the app.
This is required in order to determine where the appdir is.
A read/write attribute to that holds the proper server.
It checks for an object that consumes the Dancer2::Core::Role::Server role.
A read/write attribute that holds a Dancer2::Core::MIME object.
Absolute path to the directory where the server started.
It then sets up the default configuration.
Runs finish (to set everything up) on all of the server's applications. It then Sets up the current server and starts it by calling its start method.
finish
start
Dancer Core Developers
This software is copyright (c) 2013 by Alexis Sukrieh.
This is free software; you can redistribute it and/or modify it under the same terms as the Perl 5 programming language system itself.
To install Dancer2, copy and paste the appropriate command in to your terminal.
cpanm
cpanm Dancer2
CPAN shell
perl -MCPAN -e shell install Dancer2
For more information on module installation, please visit the detailed CPAN module installation guide.