TT2Site Builder

Template::TT2Site

A Template::Toolkit extension
Template::Toolkit
User guide » Getting started


To set up a new Template::TT2Site site, create a new directory. In this directory, issue the following command:

  $ tt2site setup

This will populate the directory with the necessary files and directories to create the web site. You can consult section Site Structure for the details on the installed files. First, you'll have to modify the files config/site and config/images that were installed in the lib directory.
If you want to make a multi-lingual site you need to create an appropriate config/lang. But in many cases this will be all you need to get started creating your web pages.

You can use the following subcommands with tt2site:

  • build (default)
    Run the ttree application to update all site data.
  • rebuild
    Run ttree to completely rebuild all site data.
  • clean
    Cleanup the generated data (and some other things, like editor backup files).
  • realclean
    Cleanup the generated data and the files originally installed with the setup.


Powered by Template Toolkit

© Copyright 2004-2006 Squirrel Consultancy. All Rights Reserved.
Site design: Squirrel Consultancy using TT2Site.
userguide/new.html last modified 20:59:28 14-Jan-2005