You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@tomee.apache.org by bu...@apache.org on 2011/10/27 09:06:07 UTC
svn commit: r797540 -
/websites/staging/openejb/trunk/content/dev/website-dev.html
Author: buildbot
Date: Thu Oct 27 07:06:07 2011
New Revision: 797540
Log:
Staging update by buildbot
Added:
websites/staging/openejb/trunk/content/dev/website-dev.html
Added: websites/staging/openejb/trunk/content/dev/website-dev.html
==============================================================================
--- websites/staging/openejb/trunk/content/dev/website-dev.html (added)
+++ websites/staging/openejb/trunk/content/dev/website-dev.html Thu Oct 27 07:06:07 2011
@@ -0,0 +1,139 @@
+<!DOCTYPE html>
+<html lang="en">
+ <head>
+
+ <meta charset="utf-8">
+ <title>Working on the Website</title>
+ <meta name="description" content="">
+ <meta name="author" content="">
+
+ <!-- Le HTML5 shim, for IE6-8 support of HTML elements -->
+ <!--[if lt IE 9]>
+ <script src="http://html5shim.googlecode.com/svn/trunk/html5.js"></script>
+ <![endif]-->
+
+ <!-- Le styles -->
+ <link href="./../bootstrap.css" rel="stylesheet">
+ <link href="./../prettify.css" rel="stylesheet">
+ <link href="./../bootstrap-mods.css" rel="stylesheet">
+
+ <style type="text/css">
+ body {
+ padding-top: 60px;
+ }
+ </style>
+
+
+ <!-- Le fav and touch icons -->
+ <link rel="shortcut icon" href="./../images/favicon.ico">
+ <link rel="apple-touch-icon" href="./../images/apple-touch-icon.png">
+ <link rel="apple-touch-icon" sizes="72x72" href="./../images/apple-touch-icon-72x72.png">
+ <link rel="apple-touch-icon" sizes="114x114" href="./../images/apple-touch-icon-114x114.png">
+
+ <script src="./../javascript/prettify.js" type="text/javascript"></script>
+ <script src="./../javascript/jquery-latest.js"></script>
+ <script src="http://platform.twitter.com/widgets.js" type="text/javascript"></script>
+ <script src="./../javascript/common.js"></script>
+ <script src="./../javascript/prettyprint.js"></script>
+
+ </head>
+
+ <body>
+
+ <div class="topbar">
+ <div class="fill">
+ <div class="container">
+ <a class="brand" href="./../index.html">Apache TomEE</a>
+ <ul class="nav">
+ <li><a href="./../index.html">Home</a></li>
+ <li><a href="./../downloads.html">Downloads</a></li>
+ <li><a href="./../documentation.html">Documentation</a></li>
+ <li><a href="./../support.html">Support</a></li>
+ </ul>
+
+ <!-- Google CSE Search Box Begins -->
+ <FORM class="pull-right" id="searchbox_010475492895890475512:_t4iqjrgx90" action="http://www.google.com/cse">
+ <INPUT type="hidden" name="cx" value="010475492895890475512:_t4iqjrgx90">
+ <INPUT type="hidden" name="cof" value="FORID:0">
+ <INPUT name="q" type="text" placeholder="Search">
+ </FORM>
+ <!--<SCRIPT type="text/javascript" src="http://www.google.com/coop/cse/brand?form=searchbox_010475492895890475512:_t4iqjrgx90"></SCRIPT>-->
+ <!-- Google CSE Search Box Ends -->
+ </div>
+ </div>
+ </div>
+
+ <div class="container">
+
+
+
+<div class="page-header">
+<small><a href="./..//index.html">Home</a> » <a href="./..//dev/">Dev</a></small><br>
+<h1>Working on the Website</h1>
+</div>
+
+<h1>Editing</h1>
+
+<p>Easiest is to check out the site source from svn:</p>
+
+<pre><code>svn co https://svn.apache.org/repos/asf/openejb/site/trunk website-source
+</code></pre>
+
+<p>All the important source is in the <code>content</code> directory. Just edit
+and check in the <code>.mdtext</code> files and they will appear in the staging
+site within seconds.</p>
+
+<p>For example, <code>documentation.mdtext</code> shows up as:</p>
+
+<p>[http://openejb.staging.apache.org/documentation.html]</p>
+
+<h1>Building Locally <small>optional</small></h1>
+
+<p>Should you want to build the site locally, you can do so pretty easily with the right perl modules installed.</p>
+
+<p>First check out the CMS source:</p>
+
+<pre><code>svn co https://svn.apache.org/repos/infra/websites/cms/build apache-cms-source
+</code></pre>
+
+<p>The cpan modules you have to install may vary. Here are the ones I installed:</p>
+
+<pre><code>sudo cpan XML::RSS::Parser::Lite
+sudo cpan XML::RSS::Parser
+sudo cpan XML::Parser::Lite
+sudo cpan XML::Atom::Feed
+</code></pre>
+
+<p>What you need to install may be different, so perhaps just skip to the part
+where we attempt to run the build locally and see what shows up missing and
+install just those things.</p>
+
+<pre><code>cd apache-cms-source
+./build_site.pl --source-base ~/path/to/website-source --target-base /tmp/site
+</code></pre>
+
+<p>All the generated html content will be under <code>/tmp/site/content</code></p>
+
+
+
+
+ <footer>
+ <p>
+ Copyright © 2011 The Apache Software Foundation, Licensed under the Apache License, Version 2.0.
+ Apache and the Apache feather logo are trademarks of The Apache Software Foundation.
+ </p>
+ </footer>
+
+ </div> <!-- /container -->
+
+ <SPAN style="display: none">
+ <SCRIPT src="http://www.google-analytics.com/urchin.js" type="text/javascript">
+ </SCRIPT>
+ <SCRIPT type="text/javascript">
+ _uacct = "UA-2717626-1";
+ urchinTracker();
+ </SCRIPT>
+ </SPAN>
+
+ </body>
+</html>