Git Product home page Git Product logo

afb's Introduction

App::Factoid::Browser

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

What's Here

  • 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

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

afb's People

Stargazers

Joel Kirchartz avatar

Watchers

Brian Manning avatar James Cloos avatar

afb's Issues

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.