aries-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From z..@apache.org
Subject svn commit: r1065584 - /aries/site/trunk/content/development/maintainingthewebpages.mdtext
Date Mon, 31 Jan 2011 12:48:46 GMT
Author: zoe
Date: Mon Jan 31 12:48:45 2011
New Revision: 1065584

URL: http://svn.apache.org/viewvc?rev=1065584&view=rev
Log:
Adding stuff on how to build and test cms locally

Modified:
    aries/site/trunk/content/development/maintainingthewebpages.mdtext

Modified: aries/site/trunk/content/development/maintainingthewebpages.mdtext
URL: http://svn.apache.org/viewvc/aries/site/trunk/content/development/maintainingthewebpages.mdtext?rev=1065584&r1=1065583&r2=1065584&view=diff
==============================================================================
--- aries/site/trunk/content/development/maintainingthewebpages.mdtext (original)
+++ aries/site/trunk/content/development/maintainingthewebpages.mdtext Mon Jan 31 12:48:45
2011
@@ -33,4 +33,39 @@ To do this you will need:
 
 First, checkout the site , like this:
 
-svn co https://svn.apache.org/repos/asf/aries/site/trunk/ site
\ No newline at end of file
+    svn co https://svn.apache.org/repos/asf/aries/site/trunk/ site
+
+
+## To build the site using the build tools.
+
+First check the cms build tools out of SVN: 
+
+    svn co https://svn.apache.org/repos/infra/websites/cms/build/ buildtools
+
+To run the build_site.pl script you will need to install the Python version 
+of Markup. The instructions for finding and installing Python pre-reqs are given [here] (http://wiki.apache.org/general/ApacheCMSFAQ)
+
+Then to build the site use this command:
+
+perl build_site.pl --source-base /path/to/newsite/trunk/ --target-base /path/to/output/
+
+which will create *.html in /path/to/output/content
+
+## Check the site on a local server.
+
+Use a vhost to check the site. On a Mac this means adding the following stanza to /etc/apache2/extra/httpd-vhosts.conf
+
+<VirtualHost *:80>
+    DocumentRoot "/Users/zoe/Sites/zaries/www"
+    ServerName zaries
+    ErrorLog "/Users/zoe/Sites/zaries/error.log"
+    CustomLog "/Users/zoe/Sites/zaries/access.log" custom
+
+    LogLevel debug
+</VirtualHost>
+
+To test the site,  move it like this:
+
+mv /path/to/output/content /Users/zoe/Sites/zaries/www
+
+Then navigate to http://zaries in a browser.



Mime
View raw message