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 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.
Almost for certain, you'll have to create in the lib
directory, the templates config/site and
config/images.
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.
Note: You have to use the realclean and setup
subcommands when you make significant changes to your tt2tree
installation, e.g., after upgrade to a new version.