aries-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From build...@apache.org
Subject svn commit: r784446 - /websites/staging/aries/trunk/content/development/maintainingthewebpages.html
Date Mon, 31 Jan 2011 12:48:50 GMT
Author: buildbot
Date: Mon Jan 31 12:48:50 2011
New Revision: 784446

Log:
Staging update by buildbot

Modified:
    websites/staging/aries/trunk/content/development/maintainingthewebpages.html

Modified: websites/staging/aries/trunk/content/development/maintainingthewebpages.html
==============================================================================
--- websites/staging/aries/trunk/content/development/maintainingthewebpages.html (original)
+++ websites/staging/aries/trunk/content/development/maintainingthewebpages.html Mon Jan 31
12:48:50 2011
@@ -260,7 +260,37 @@ To do this you will need:</p>
 <li>A local setup of Apache</li>
 </ul>
 <p>First, checkout the site , like this:</p>
-<p>svn co https://svn.apache.org/repos/asf/aries/site/trunk/ site</p></div>
+<div class="codehilite"><pre><span class="n">svn</span> <span
class="n">co</span> <span class="n">https:</span><span class="sr">//s</span><span
class="n">vn</span><span class="o">.</span><span class="n">apache</span><span
class="o">.</span><span class="n">org</span><span class="sr">/repos/</span><span
class="n">asf</span><span class="sr">/aries/si</span><span class="n">te</span><span
class="sr">/trunk/</span> <span class="n">site</span>
+</pre></div>
+
+
+<h2 id="to_build_the_site_using_the_build_tools">To build the site using the build
tools.</h2>
+<p>First check the cms build tools out of SVN: </p>
+<div class="codehilite"><pre><span class="n">svn</span> <span
class="n">co</span> <span class="n">https:</span><span class="sr">//s</span><span
class="n">vn</span><span class="o">.</span><span class="n">apache</span><span
class="o">.</span><span class="n">org</span><span class="sr">/repos/i</span><span
class="n">nfra</span><span class="sr">/websites/cms/build/</span> <span
class="n">buildtools</span>
+</pre></div>
+
+
+<p>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)</p>
+<p>Then to build the site use this command:</p>
+<p>perl build_site.pl --source-base /path/to/newsite/trunk/ --target-base /path/to/output/</p>
+<p>which will create *.html in /path/to/output/content</p>
+<h2 id="check_the_site_on_a_local_server">Check the site on a local server.</h2>
+<p>Use a vhost to check the site. On a Mac this means adding the following stanza to
/etc/apache2/extra/httpd-vhosts.conf</p>
+<p><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</p>
+<div class="codehilite"><pre><span class="n">LogLevel</span> <span
class="n">debug</span>
+</pre></div>
+
+
+</VirtualHost>
+
+<p>To test the site,  move it like this:</p>
+<p>mv /path/to/output/content /Users/zoe/Sites/zaries/www</p>
+<p>Then navigate to http://zaries in a browser.</p></div>
             <!-- Content -->
           </td>
         </tr>



Mime
View raw message