Free Trial

Safari Books Online is a digital library providing on-demand subscription access to thousands of learning resources.

  • Create BookmarkCreate Bookmark
  • Create Note or TagCreate Note or Tag
  • PrintPrint

Getting Started

A few basic tasks need to be done when starting out a project for a Template Toolkit-driven web site. The first thing is to create somewhere for the project files to go. It’s a good idea to keep everything related to the project in one place. If all the files are located in subdirectories of one common parent directory, the entire project can easily be relocated to another server, or perhaps to another directory on the same machine. It is much harder to keep track of files when they are dotted around a filesystem.

For this project, we will generate static HTML pages from templates. All the output files will be written to an html subdirectory of the project directory. From here they can be accessed via an appropriately configured web server. We’ll be looking at a simple configuration for the Apache web server that demonstrates this.


  

You are currently reading a PREVIEW of this book.

                                                                                                                    

Get instant access to over $1 million worth of books and videos.

  

Start a Free Trial


  
  • Safari Books Online
  • Create BookmarkCreate Bookmark
  • Create Note or TagCreate Note or Tag
  • PrintPrint