Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/spicyjack/afb

Browse and search for Infobot factoids from the comfort of your web browser.
https://github.com/spicyjack/afb

Last synced: about 2 months ago
JSON representation

Browse and search for Infobot factoids from the comfort of your web browser.

Awesome Lists containing this project

README

        

# App::Factoid::Browser #

Browse and search for Infobot factoids from the comfort of your web browser.

## What's Here ##
- [Project Notes](https://github.com/spicyjack/afb/blob/master/docs/notes.md)
- Perl [Dancer](https://metacpan.org/module/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

## Starting the app ##
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

## Changing the layout (view) ##
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.

## Licensing ##
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