3 Credit goes to the Ruby on Rails team for this page
4 has been heavily based on the default Rails page that is
5 built with a scaffolded application.
7 Thanks a lot to them for their work.
9 See Ruby on Rails if you want a kickass framework in Ruby:
10 http://www.rubyonrails.org/
15 <ul id="sidebar-items">
17 <h3>Join the community</h3>
20 <li><a href="https://perldancer.org/">PerlDancer Website</a></li>
21 <li><a href="https://twitter.com/PerlDancer/">Official Twitter</a></li>
22 <li><a href="https://github.com/PerlDancer/Dancer2/">GitHub Community</a></li>
23 <li><a href="https://lists.perldancer.org/mailman/listinfo/dancer-users">Mailing List</a></li>
24 <li><a href="irc://irc.perl.org/dancer">IRC</a></li>
29 <h3>Browse the documentation</h3>
33 href="https://metacpan.org/pod/Dancer2::Manual">Introduction</a></li>
34 <li><a href="https://metacpan.org/pod/Dancer2::Cookbook">Cookbook</a></li>
36 href="https://metacpan.org/pod/Dancer2::Tutorial"
37 title="a tutorial to build a small blog engine with Dancer">Tutorial</a></li>
38 <li><a href="https://metacpan.org/pod/Dancer2::Manual::Deployment">Deployment</a></li>
43 <h3>Your application's environment</h3>
46 <li>Location: <span class="filepath">/btrfs/home/dam/w/lsl/tmp/App::REST::LazyShoppingList</span></li>
47 <li>Template engine: <span class="app-info"><% settings.template %></span></li>
48 <li>Logger: <span class="app-info"><% settings.logger %></span></li>
49 <li>Environment: <span class="app-info"><% settings.environment %></span></li>
59 <h1>Perl is dancing</h1>
60 <h2>You’ve joined the dance floor!</h2>
63 <div id="getting-started">
64 <h1>Getting started</h1>
65 <h2>Here’s how to get dancing:</h2>
67 <h3><a href="#" id="about_env_link">About your application's environment</a></h3>
69 <div id="about-content" style="display: none;">
74 <td><span class="app-info"><% perl_version %></span></td>
77 <td>Dancer2 version</td>
78 <td><span class="app-info"><% dancer_version %></span></td>
82 <td><span class="app-info"><% settings.apphandler %></span></td>
86 <td><span class="filepath">/btrfs/home/dam/w/lsl/tmp/App::REST::LazyShoppingList</span></td>
89 <td>Template engine</td>
90 <td><span class="app-info"><% settings.template %></span></td>
93 <td>Logger engine</td>
94 <td><span class="app-info"><% settings.logger %></span></td>
97 <td>Running environment</td>
98 <td><span class="app-info"><% settings.environment %></span></td>
104 <script type="text/javascript">
105 $('#about_env_link').click(function() {
106 $('#about-content').slideToggle('fast', function() {
116 <h2>Tune your application</h2>
119 Your application is configured via a global configuration file,
120 <span class="filepath">config.yml</span> and an "environment" configuration file,
121 <span class="filepath">environments/development.yml</span>. Edit those files if you
122 want to change the settings of your application.
127 <h2>Add your own routes</h2>
130 The default route that displays this page can be removed,
131 it's just here to help you get started. The template used to
132 generate this content is located in
133 <span class="filepath">views/index.tt</span>.
134 You can add some routes to <span class="filepath">lib/App/REST/LazyShoppingList.pm lib/App/REST/LazyShoppingList.pm</span>.
139 <h2>Enjoy web development again</h2>
142 Once you've made your changes, restart your standalone server
143 <span class="filepath">(bin/app.psgi)</span> and you're ready
144 to test your web application.