Helper script for providing a bootstraping method for creating new Dancer applications.
dancer [options] -a <appname>
- -h, --help : print what you are currently reading =item -a, --application : the name of your application =item -p, --path : the path where to create your application (current directory if not specified)
Here is an application create with dancer:
$ dancer -a mywebapp + mywebapp + mywebapp/config.yml + mywebapp/views + mywebapp/views/layouts + mywebapp/views/layouts/main.tt + mywebapp/views/index.tt + mywebapp/environments + mywebapp/environments/production.yml + mywebapp/environments/development.yml + mywebapp/mywebapp.pm + mywebapp/mywebapp.pl + mywebapp/app.psgi
The application is ready to serve:
$ cd mywebapp $ ./mywebapp.pl >> Listening on 127.0.0.1:3000 == Entering the development dance floor ...
This script has been written by Sebastien Deseille <firstname.lastname@example.org> and Alexis Sukrieh <email@example.com>.
See Dancer for more information.
This module is free software and is published under the same terms as Perl itself.