1DANCER(1) User Contributed Perl Documentation DANCER(1)
2
3
4
6 dancer - helper script to create new Dancer applications
7
9 version 1.3521
10
12 dancer [options] -a <appname>
13
15 Helper script for providing a bootstrapping method to quickly and
16 easily create the framework for a new Dancer application.
17
19 -h, --help : print what you are currently reading
20 -a, --application : the name of your application
21 -p, --path : the path where to create your application
22 (current directory if not specified)
23 -x, --no-check : don't check for the latest version of Dancer
24 (checking version implies internet connection)
25 -v, --version : print the version of dancer being used
26
28 Here is an application created with dancer:
29
30 $ dancer -a MyWeb::App
31 + MyWeb-App
32 + MyWeb-App/bin
33 + MyWeb-App/bin/app.pl
34 + MyWeb-App/config.yml
35 + MyWeb-App/environments
36 + MyWeb-App/environments/development.yml
37 + MyWeb-App/environments/production.yml
38 + MyWeb-App/views
39 + MyWeb-App/views/index.tt
40 + MyWeb-App/views/layouts
41 + MyWeb-App/views/layouts/main.tt
42 + MyWeb-App/MANIFEST.SKIP
43 + MyWeb-App/lib
44 + MyWeb-App/lib/MyWeb
45 + MyWeb-App/lib/MyWeb/App.pm
46 + MyWeb-App/public
47 + MyWeb-App/public/css
48 + MyWeb-App/public/css/style.css
49 + MyWeb-App/public/css/error.css
50 + MyWeb-App/public/images
51 + MyWeb-App/public/500.html
52 + MyWeb-App/public/404.html
53 + MyWeb-App/public/dispatch.fcgi
54 + MyWeb-App/public/dispatch.cgi
55 + MyWeb-App/public/javascripts
56 + MyWeb-App/public/javascripts/jquery.min.js
57 + MyWeb-App/t
58 + MyWeb-App/t/002_index_route.t
59 + MyWeb-App/t/001_base.t
60 + MyWeb-App/Makefile.PL
61
62 The application is ready to serve:
63
64 $ cd MyWeb-App
65 $ ./bin/app.pl
66 >> Listening on 127.0.0.1:3000
67 == Entering the development dance floor ...
68
70 Dancer Core Developers
71
73 This software is copyright (c) 2010 by Alexis Sukrieh.
74
75 This is free software; you can redistribute it and/or modify it under
76 the same terms as the Perl 5 programming language system itself.
77
78
79
80perl v5.38.0 2023-07-20 DANCER(1)