To set up a new Template::TT2Site site, create a new
directory. In this directory, issue the following command:
$ make -f $TT2SITE_LIB/common.mk setup
This will populate the directory with the necessary files and
directories to create the web site. Among these is a Makefile
which provides the following targets:
- 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.