You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@rave.apache.org by bu...@apache.org on 2011/07/09 15:11:16 UTC

svn commit: r792441 - in /websites/staging/rave/trunk/content/rave/installing: ./ host-configuration.html index.html

Author: buildbot
Date: Sat Jul  9 13:11:16 2011
New Revision: 792441

Log:
Staging update by buildbot

Added:
    websites/staging/rave/trunk/content/rave/installing/
    websites/staging/rave/trunk/content/rave/installing/host-configuration.html
    websites/staging/rave/trunk/content/rave/installing/index.html

Added: websites/staging/rave/trunk/content/rave/installing/host-configuration.html
==============================================================================
--- websites/staging/rave/trunk/content/rave/installing/host-configuration.html (added)
+++ websites/staging/rave/trunk/content/rave/installing/host-configuration.html Sat Jul  9 13:11:16 2011
@@ -0,0 +1,115 @@
+<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
+<html>
+<head>
+<!--
+
+    Licensed to the Apache Software Foundation (ASF) under one or more
+    contributor license agreements.  See the NOTICE file distributed with
+    this work for additional information regarding copyright ownership.
+    The ASF licenses this file to You under the Apache License, Version 2.0
+    (the "License"); you may not use this file except in compliance with
+    the License.  You may obtain a copy of the License at
+
+       http://www.apache.org/licenses/LICENSE- 2.0
+
+    Unless required by applicable law or agreed to in writing, software
+    distributed under the License is distributed on an "AS IS" BASIS,
+    WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+    See the License for the specific language governing permissions and
+    limitations under the License.
+-->
+  <link rel="shortcut icon" href="/rave/images/RAVE-icon.ico" type="image/x-icon" />
+  <link href="/rave/css/rave.css" rel="stylesheet" type="text/css">
+  <title>Host configuration</title>
+  <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
+</head>
+
+<body>
+  <div id="banner">
+    <img id="logo" alt="Apache Rave (Incubating)" src="/rave/images/RAVE-logo_main-logo-small.png"/>
+  </div>
+  
+  <div id="navigation">
+  <h1 id="general">General</h1>
+<ul>
+<li><a href="index.html">About</a></li>
+<li><a href="downloads.html">Downloads</a></li>
+<li><a href="http://incubator.apache.org/projects/rave.html">Incubator page</a></li>
+<li><a href="license.html">License</a></li>
+</ul>
+<h1 id="community">Community</h1>
+<ul>
+<li><a href="get-involved.html">Get Involved</a></li>
+<li><a href="mailing-lists.html">Mailing Lists</a></li>
+<li><a href="people.html">People</a></li>
+</ul>
+<h1 id="development">Development</h1>
+<ul>
+<li><a href="source.html">Getting Started</a></li>
+<li><a href="ide-settings-and-debugging.html">IDE Settings and debugging</a></li>
+<li><a href="release-management.html">Release Management</a></li>
+<li><a href="https://issues.apache.org/jira/browse/rave">Issue Tracker</a></li>
+<li><a href="https://builds.apache.org/hudson/view/M-R/view/Rave/">Continuous Integration</a></li>
+<li><a href="https://analysis.apache.org/dashboard/index/58996">Sonar Dashboard</a></li>
+<li><a href="edit-website.html">Website</a></li>
+</ul>
+<h1 id="asf">ASF</h1>
+<ul>
+<li><a href="http://www.apache.org">Apache Software Foundation</a></li>
+<li><a href="http://www.apache.org/foundation/thanks.html">Thanks</a></li>
+<li><a href="http://www.apache.org/foundation/sponsorship.html">Become a Sponsor</a></li>
+<li><a href="http://www.apache.org/security/">Security</a></li>
+</ul>
+    <a alt="Apache Incubator" href="http://incubator.apache.org">
+      <img id="asf-logo" alt="Apache Incubator" src="/rave/images/apache-incubator-logo.png"/>
+    </a>
+  </div>
+
+  <div id="content">
+    <h1 class="title">Host configuration</h1>
+    <p>The default configuration uses the following URL's:</p>
+<ul>
+<li>Portal: http://localhost:8080/portal</li>
+<li>OpenSocial engine gadgets rendering http://localhost:8080/gadgets</li>
+</ul>
+<h2 id="override_portal_configuration">Override portal configuration</h2>
+<p>First configure the portal to call a different URL for the OpenSocial engine:</p>
+<ul>
+<li>Make a copy of <a href="http://svn.apache.org/repos/asf/incubator/rave/trunk/rave-portal/src/main/resources/portal.properties">portal.properties</a></li>
+<li>Change the properties 'portal.opensocial_engine.protocol', 'portal.opensocial_engine.root' and/or 'portal.opensocial_engine.gadget_path'</li>
+<li>Set a system property 'portal.override.properties' that points to the location of the custom properties file. <ul>
+<li>File system: 'portal.override.properties=/new/location/of/myportal.properties'</li>
+<li>Classpath: 'portal.override.properties=classpath:myportal.properties'</li>
+</ul>
+</li>
+</ul>
+<p>After a (re)start of Tomcat, the portal will now try to fetch gadget rendering data from your configured location.</p>
+<h2 id="override_opensocial_engine_configuration">Override OpenSocial engine configuration</h2>
+<p>The OpenSocial engine (Shindig) has several locations for the host, port and gadget context path.</p>
+<ul>
+<li>Make a copy of <a href="http://svn.apache.org/repos/asf/shindig/tags/shindig-project-3.0.0-beta2/config/container.js">container.js</a> (check if this version is still valid for your release)</li>
+<li>Make a copy of <a href="http://svn.apache.org/repos/asf/shindig/tags/shindig-project-3.0.0-beta2/java/common/conf/shindig.properties">shindig.properties</a> (check if this version is still valid for your release)</li>
+<li>Change the properties that point to localhost, port 8080 or http</li>
+<li>Change the reference in 'shindig.properties' to 'container.js': 'shindig.containers.default=/new/location/of/container.js'</li>
+<li>Set a system property 'shindig.override.properties' that points to the location of the custom properties file. <ul>
+<li>File system: 'shindig.override.properties=/new/location/of/myshindig.properties'</li>
+<li>Classpath: 'shindig.override.properties=classpath:myshindig.properties'</li>
+</ul>
+</li>
+</ul>
+<p>Note: if the OpenSocial engine still points to localhost, also set a system property 'shindig.host' to change the host.</p>
+  </div>
+
+  <div id="footer">
+    <div class="copyright">
+      <p>
+        Copyright &copy; 2011 The Apache Software Foundation, Licensed under
+        the <a href="http://www.apache.org/licenses/LICENSE-2.0">Apache License, Version 2.0</a>.
+        <br />
+        Apache and the Apache feather logos are trademarks of The Apache Software Foundation.
+      </p>
+    </div>
+  </div>
+
+</body>
+</html>

Added: websites/staging/rave/trunk/content/rave/installing/index.html
==============================================================================
--- websites/staging/rave/trunk/content/rave/installing/index.html (added)
+++ websites/staging/rave/trunk/content/rave/installing/index.html Sat Jul  9 13:11:16 2011
@@ -0,0 +1,127 @@
+<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
+<html>
+<head>
+<!--
+
+    Licensed to the Apache Software Foundation (ASF) under one or more
+    contributor license agreements.  See the NOTICE file distributed with
+    this work for additional information regarding copyright ownership.
+    The ASF licenses this file to You under the Apache License, Version 2.0
+    (the "License"); you may not use this file except in compliance with
+    the License.  You may obtain a copy of the License at
+
+       http://www.apache.org/licenses/LICENSE- 2.0
+
+    Unless required by applicable law or agreed to in writing, software
+    distributed under the License is distributed on an "AS IS" BASIS,
+    WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+    See the License for the specific language governing permissions and
+    limitations under the License.
+-->
+  <link rel="shortcut icon" href="/rave/images/RAVE-icon.ico" type="image/x-icon" />
+  <link href="/rave/css/rave.css" rel="stylesheet" type="text/css">
+  <title>Installing Rave</title>
+  <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
+</head>
+
+<body>
+  <div id="banner">
+    <img id="logo" alt="Apache Rave (Incubating)" src="/rave/images/RAVE-logo_main-logo-small.png"/>
+  </div>
+  
+  <div id="navigation">
+  <h1 id="general">General</h1>
+<ul>
+<li><a href="index.html">About</a></li>
+<li><a href="downloads.html">Downloads</a></li>
+<li><a href="http://incubator.apache.org/projects/rave.html">Incubator page</a></li>
+<li><a href="license.html">License</a></li>
+</ul>
+<h1 id="community">Community</h1>
+<ul>
+<li><a href="get-involved.html">Get Involved</a></li>
+<li><a href="mailing-lists.html">Mailing Lists</a></li>
+<li><a href="people.html">People</a></li>
+</ul>
+<h1 id="development">Development</h1>
+<ul>
+<li><a href="source.html">Getting Started</a></li>
+<li><a href="ide-settings-and-debugging.html">IDE Settings and debugging</a></li>
+<li><a href="release-management.html">Release Management</a></li>
+<li><a href="https://issues.apache.org/jira/browse/rave">Issue Tracker</a></li>
+<li><a href="https://builds.apache.org/hudson/view/M-R/view/Rave/">Continuous Integration</a></li>
+<li><a href="https://analysis.apache.org/dashboard/index/58996">Sonar Dashboard</a></li>
+<li><a href="edit-website.html">Website</a></li>
+</ul>
+<h1 id="asf">ASF</h1>
+<ul>
+<li><a href="http://www.apache.org">Apache Software Foundation</a></li>
+<li><a href="http://www.apache.org/foundation/thanks.html">Thanks</a></li>
+<li><a href="http://www.apache.org/foundation/sponsorship.html">Become a Sponsor</a></li>
+<li><a href="http://www.apache.org/security/">Security</a></li>
+</ul>
+    <a alt="Apache Incubator" href="http://incubator.apache.org">
+      <img id="asf-logo" alt="Apache Incubator" src="/rave/images/apache-incubator-logo.png"/>
+    </a>
+  </div>
+
+  <div id="content">
+    <h1 class="title">Installing Rave</h1>
+    <p>Releases of Apache Rave are available for <a href="../downloads.html">download</a>. </p>
+<h2 id="build_a_distribution_package">Build a distribution package</h2>
+<p>To build your own distribution with default settings follow these steps:</p>
+<p>Check out the source code</p>
+<div class="codehilite"><pre><span class="nv">$</span> <span class="nv">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">/incubator/</span><span class="n">rave</span><span class="o">/</span><span class="n">trunk</span> <span class="n">rave</span>
+</pre></div>
+
+
+<p>Build your distribution package with</p>
+<div class="codehilite"><pre><span class="nv">$</span> <span class="nv">mvn</span> <span class="o">-</span><span class="n">Pdist</span>
+</pre></div>
+
+
+<h2 id="deploy_the_distribution">Deploy the distribution</h2>
+<p>In the directory rave-portal/target you can find the rave-<version>-bin.tar.gz and 
+rave-<version>-bin.zip file that contains the full Apache Tomcat 6 installation. 
+The contents of these archives are identical. Unpack one of these archives on your server
+and go to the Tomcat directory in the console or command prompt.</p>
+<h3 id="start_tomcat">Start Tomcat</h3>
+<p>Unix</p>
+<div class="codehilite"><pre><span class="nv">$</span> <span class="err">./</span><span class="nv">bin</span><span class="o">/</span><span class="n">startup</span><span class="o">.</span><span class="n">sh</span>
+</pre></div>
+
+
+<p>Windows</p>
+<div class="codehilite"><pre><span class="o">&gt;</span> <span class="n">bin</span><span class="o">\</span><span class="n">startup</span><span class="o">.</span><span class="n">bat</span>
+</pre></div>
+
+
+<h2 id="visit_the_portal">Visit the portal</h2>
+<p>Open url <a href="http://localhost:8080/portal">http://localhost:8080/portal</a> in a browser.</p>
+<h3 id="stop_tomcat">Stop Tomcat</h3>
+<p>Unix</p>
+<div class="codehilite"><pre><span class="nv">$</span> <span class="err">./</span><span class="nv">bin</span><span class="o">/</span><span class="nb">shutdown</span><span class="o">.</span><span class="n">sh</span>
+</pre></div>
+
+
+<p>Windows</p>
+<div class="codehilite"><pre><span class="o">&gt;</span> <span class="n">bin</span><span class="o">\</span><span class="nb">shutdown</span><span class="o">.</span><span class="n">bat</span>
+</pre></div>
+
+
+<p>For more Tomcat options, see the <a href="http://tomcat.apache.org/tomcat-6.0-doc/index.html">Tomcat 6.0 documentation</a>.</p>
+  </div>
+
+  <div id="footer">
+    <div class="copyright">
+      <p>
+        Copyright &copy; 2011 The Apache Software Foundation, Licensed under
+        the <a href="http://www.apache.org/licenses/LICENSE-2.0">Apache License, Version 2.0</a>.
+        <br />
+        Apache and the Apache feather logos are trademarks of The Apache Software Foundation.
+      </p>
+    </div>
+  </div>
+
+</body>
+</html>