Installing the demo site
|
|||
|
Installing the demo site
The TT Web Site Manger package includes a demo site. The demo site is distributed as a TT Web Site Manager XML export file in the /demosite directory, along with a file containing the data for the demo site as a sequence of SQL commands. To install the demo site from the exported XML file demosite.xml, create an empty site in the site management script. Give your admin user the rights to access that empty site as described on the User management page. Once you have your empty site, import the demosite.xml file into it as described on the Page management page. This creates a TT Web Site Manager site with pages, items and item containers but does not create any data. The demo site data is stored as SQL commands in the file demosite_data.sql. The first one creates a database table called demo_news while the rest populate the demo_news table with some data. To install the demo site data from this file, run each of the SQL commands from the SQL prompt by opening the file in a text editor and cutting and pasting each of the commands in turn into the form and running it. Once you have imported the demo site and run the SQL commands in demosite_data.sql, there are a couple more tasks. In the Private page user management script, create a private user and assign it the rights to use the demo site. Assuming that you have given your administrator login the rights to use the demo site as covered in the user management section of this documentation, you will have to change the base URL of the demo site to match the base URL you use to access the document root of the server you installed the TT Web Site Manager on. This is usually set to http://localhost for local development or evaluation machines, if you want to change it this is dealt with on the site management section of this documentation. Of course, you don't have to install the demo site at all. You should be able go ahead and use the TT Web Site Manager without any further installation work. However since the demo site is used as the example for the following pages a look at it is definitely recommended. |
|||
|