NAME
Lavoco::Website - Framework to run a tiny website, controlled by a json config file and Template::Toolkit.
VERSION
Version 0.01
SYNOPSIS
Runs a FastCGI web-app for serving Template::Toolkit templates.
#!/usr/bin/env perl
use strict;
use warnings;
use lib 'lib';
use Lavoco::Website;
my $website = Lavoco::Website->new( name => 'Organic' );
$website->stop if $ARGV[0] =~ /(stop|restart)/i;
sleep 1 if $ARGV[0] =~ /restart/i;
$website->start if $ARGV[0] =~ /(start|restart)/i;
METHODS
Class Methods
new
Creates a new instance of the website object.
Instance Methods
name
The identifier for the website, used as the process title.
start
Starts the FastCGI daemon.
stop
Stops the FastCGI daemon.
TODO
More documentation.
AUTHOR
Rob Brown, <rob at intelcompute.com>
BUGS
Please report any bugs or feature requests to bug-lavoco-website at rt.cpan.org, or through the web interface at http://rt.cpan.org/NoAuth/ReportBug.html?Queue=Lavoco-Website. I will be notified, and then you will automatically be notified of progress on your bug as I make changes.
SUPPORT
You can find documentation for this module with the perldoc command.
perldoc Lavoco::Website
You can also look for information at:
RT: CPAN's request tracker (report bugs here)
AnnoCPAN: Annotated CPAN documentation
CPAN Ratings
Search CPAN
LICENSE AND COPYRIGHT
Copyright 2014 Rob Brown.
This program is free software; you can redistribute it and/or modify it under the terms of either: the GNU General Public License as published by the Free Software Foundation; or the Artistic License.
See http://dev.perl.org/licenses/ for more information.