
Template::TT2Site - Create standard web sites with the Template Toolkit

$ mkdir NewSite $ cd NewSite $ tt2site setup ... make your pages ... $ tt2site build ... point your browser at html/index.html ...
tt2site is just a wrapper program. tt2site setup is equivalent to perl -MTemplate::TT2Site -e setup, and so on.

Template::TT2Site is a framework to create web sites using the Template Toolkit.
The technical structure of the site is patterned after the method described in chapter 11 of The Badger Book. The structure has been slightly simplified for ease of use, and a couple of neat features are added:
This module, Template::TT2Site, provides the necessary methods to setup and maintain a site. It is used by the wrapper program, tt2site.
For more information, see the Web site: http://www.squirrel.nl/people/jvromans/tt2site/index.html.

The following methods are exported by default.
Initialises a new site directory. This command must be run once before you can do anything else.
Run the ttree application to update the site files.
Run the ttree application to completely rebuild all site files.
Cleans the generated HTML files, and editor backup files.
Cleans the generated HTML files, editor backup files, and all files originally installed using the setup command.
You'll be asked for confirmation before your files are removed.
All other methods are for internal use only.

Johan Vromans <jvromans@squirrel.nl>

This programs is Copyright 2004,2005, Squirrel Consultancy.
This program is free software; you can redistribute it and/or modify it under the terms of the Perl Artistic License or the GNU General Public License as published by the Free Software Foundation; either version 2 of the License, or (at your option) any later version.

Template::TT2Site requires the following Perl modules, all available on CPAN:
Template::TT2Site uses the ttree tool, which is assumed to be available in your execution path as a Perl script.

This product is better than this documentation.

Johan Vromans (jvromans@squirrel.nl) wrote this software.
Many things were borrowed and adapted from the Template Toolkit sample materials and the Badger book.
Web site: http://www.squirrel.nl/people/jvromans/tt2site/index.html.

This software is Copyright 2004-2005 by Squirrel Consultancy. All rights reserved.
This program is free software; you can redistribute it and/or modify it under the terms of either: a) the GNU General Public License as published by the Free Software Foundation; either version 1, or (at your option) any later version, or b) the "Artistic License" which comes with Perl.
This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See either the GNU General Public License or the Artistic License for more details.