NAME
dancer - helper script to create new Dancer applications
SYNOPSIS
dancer [options] -a <appname>
OPTIONS
-h, --help : print what you are currently reading
-a, --application : the name of your application
-p, --path : the path where to create your application
(current directory if not specified)
-v, --version : print the version of dancer being used
DESCRIPTION
Helper script for providing a bootstrapping method to quickly and easily create the framework for a new Dancer application.
EXAMPLE
Here is an application created with dancer:
$ dancer -a mywebapp
+ mywebapp
+ mywebapp/bin
+ mywebapp/bin/app.pl
+ mywebapp/config.yml
+ mywebapp/environments
+ mywebapp/environments/development.yml
+ mywebapp/environments/production.yml
+ mywebapp/views
+ mywebapp/views/index.tt
+ mywebapp/views/layouts
+ mywebapp/views/layouts/main.tt
+ mywebapp/lib
+ mywebapp/lib/mywebapp.pm
+ mywebapp/public
+ mywebapp/public/css
+ mywebapp/public/css/style.css
+ mywebapp/public/css/error.css
+ mywebapp/public/images
+ mywebapp/public/500.html
+ mywebapp/public/404.html
+ mywebapp/public/dispatch.fcgi
+ mywebapp/public/dispatch.cgi
+ mywebapp/public/javascripts
+ mywebapp/public/javascripts/jquery.js
+ mywebapp/Makefile.PL
+ mywebapp/t
+ mywebapp/t/002_index_route.t
+ mywebapp/t/001_base.t
The application is ready to serve:
$ cd mywebapp
$ ./mywebapp.pl
>> Listening on 127.0.0.1:3000
== Entering the development dance floor ...
AUTHOR
This script has been written by Sebastien Deseille <sebastien.deseille@gmail.com> and Alexis Sukrieh <sukria@cpan.org>.
SOURCE CODE
See Dancer for more information.
LICENSE
This module is free software and is published under the same terms as Perl itself.