The Logging web is rendered by the Apache CMS. Contents are modified by committing them to the SVN repository.
When testing or debugging the CMS capabilities, it is sometimes not desirable to commit test data to the repository. This process describes how to render the CMS portion of the Logging web site locally.
Pre-requisites
This process requires:
- Subversion command line client
- Perl runtime
It should work on all major platforms; tested only on windows.
This guide was written using:
- Windows 7 x64
SilkSVN v1.7.4
ActivePerl v5.14.2
Build process
Pick a working directory and open a command prompt.
Setup the environment:
# Checkout the site source svn co https://svn.apache.org/repos/asf/logging/site/cms/trunk logging-site # Checkout the CMS svn co https://svn.apache.org/repos/infra/websites/cms cms # Create a target dir into which to render the site mkdir target
To build the site, run:
cd cms cd build perl build_site.pl --source-base ../../logging-site --target-base ../../target
The output should be similar to:
Building site... Can't open cgi-bin [skipping]: No such file or directory at build_site.pl line 124. All done.
And the site will be rendered into target/content.