Browse and search for Infobot factoids from the comfort of your web browser.
- Project Notes
- Perl Dancer application
App-Perl-Dancer/bin/app.pl
- Dancer web application, creates an instance of Dancer on port 3000 of
localhost
- Standalone factoid tool script
App-Perl-Dancer/bin/factoid_tool.pl
- Can display factoid files (
factoid_file.[pag|dir]
)
- Helper scripts
scripts/get_factoids.sh
- Downloads factoids from remote server, creates tarball for re-downloading
Change to the App-Factoid-Browser
directory and issue this command:
perl bin/app.pl
You can also specify an environment with:
perl bin/app.pl --environment production
Edit the file config.yml
, and set layout:
to be the name of a file in the
views/layouts
directorythat contains Template Toolkit markup. This file
will be used as the default page(s) for the app. The <% content %>
block in
that page will contain the content for whatever page was requested by the
user. Template Toolkit will also read in this page when that tag is
reached, and parse and output the contents of the page.
This software is released under the terms of the Perl Artistic License, a copy of which can be viewed at http://dev.perl.org/licenses/artistic.html.
vim: filetype=markdown tabstop=2 shiftwidth=2