% html(); return; /* vim:set ft=sitecing: */ %%derive layout = "/ancestry/layout.chtml"; <%codemethod string title() %> return "introduction"; %codemethod> <%method void content() %>
This is a sample site, which is supposed to demonstrate site-C-ing features. Since the site-C-ing is still at the early stages of development or rather proof of concept, this site is also far from being complete. I am planning to add more pages as the time permits, though.
Once you download and install site-C-ing you may wish to try
this sample site for yourself. The source is available from the site-C-ing download
page. After you download the source code, you should configure it using
the ever so popular configure
script. It is likely that you will
want to pass the --with-vhostname
option to configure to name
the apache virtual host.
The configure script will generate the apache vhost configuration for you,
which you can Include
in the main apache configuration file.
Note, that the configuration is tailored for apache 2.x. It is no problem to get it working with apache 1.3.x, although I haven't tried and so I am not sure if it will run out of the box (your patches are welcome). Also note that you will need mod_fastcgi apache module, which is the only CGI-interface supported by the site-C-ing engine at the moment.
Once you get it all done you will want to restart your apache and start the
site-C-ing fastcgi server by issuing the make restart
command.
Before you download it, you may wish to examine the sources to learn more about how it is done.
%method>