Differences between revisions 1 and 2
Revision 1 as of 2012-06-13 13:19:20
Size: 1448
Editor: 194
Revision 2 as of 2013-01-17 09:12:36
Size: 1439
Editor: 194
Deletions are marked like this. Additions are marked like this.
Line 27: Line 27:
svn co https://svn.apache.org/repos/asf/logging/site/branches/cms/trunk logging-site svn co https://svn.apache.org/repos/asf/logging/site/cms/trunk logging-site

Building the web site locally

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.


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:

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.

BuildingTheWebSite (last edited 2013-01-17 09:12:36 by 194)