blob: a1a6d6818daee64b4c2ffb926928f20fb06f11f8 [file] [log] [blame]
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<!--
Copyright 2002-2004 The Apache Software Foundation
Licensed 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.
-->
<!--
Please note that this HTML file was _not_ created by Forrest.
-->
<html>
<head>
<title>Apache Forrest - quick start</title>
</head>
<body>
<img src="src/documentation/resources/images/apache-forrest.png" alt="forrest" />
<br />
<a href="http://www.apache.org/" class="title">Apache</a>
&gt;<a href="http://xml.apache.org/" class="title">XML</a>
&gt;<a href="http://forrest.apache.org/" class="title">Forrest</a>
<hr />
<h2>What is this?</h2>
<p>Apache Forrest is an XML standards-oriented documentation framework
based upon Apache Cocoon, providing XSLT stylesheets and schemas,
images and other resources. Forrest uses these to render the source
content into a website via command-line, robot, or dynamic application.
</p>
<h2>What do I do now?</h2>
<p>With a downloaded distribution, Forrest is already built. Just set the
environment variables for convenience: FORREST_HOME to point to src/core
and add FORREST_HOME/bin to your PATH. That is it, ready.
</p>
<p>The source code is also provided, so you can alter it or extend it,
and then re-build by doing
<tt>'build.bat'</tt> (Windows)
or <tt>'./build.sh'</tt> (Unix).
If you need more instructions, then see the
<a href="http://forrest.apache.org/build.html">Building Forrest</a>
document.
</p>
<p>Forrest is ready to go! Here are some things to try ...</p>
<h3>Render the Forrest core documentation</h3>
<p>Simply type <tt>'forrest'</tt> in this
top-level directory. This will render the HTML and PDFs for the Forrest
documentation into the
<tt>build/site/</tt> directory.
Point your web browser to the index.html file.
</p>
<h3>Run a webapp of the Apache Forrest site</h3>
<p>Type <tt>'forrest run'</tt> in this top-level directory.
You can then point your browser to
<a href="http://localhost:8888/">http://localhost:8888/</a>
and view the Forrest website generated dynamically.
</p>
<h3>Generate your own site</h3>
<p>Create a new (empty) directory in your home space, cd to it, and type
<tt>'forrest seed'</tt>
which will generate a skeleton directory structure and template XML.
If you like, edit the XML in the
<tt>src/documentation/content/xdocs/</tt> directory.
Now type <tt>'forrest'</tt> to render your new site,
or <tt>'forrest run'</tt>
to generate a <a href="http://localhost:8888/">webapp</a> then
experiment with editing docs in
<tt>src/documentation/content/xdocs/</tt> and watch them be
instantly rendered.
</p>
<h2>Further information</h2>
<p>
Type 'forrest -projecthelp' to list the available Forrest commands.
NOTE: use the 'forrest.bat' version when running under Cygwin!
</p>
<p>Your distribution has a copy of the Apache Forrest core documentation.
Refer to the online or SVN version for the up-to-date documentation.
</p>
<p>For further information please read our
<a href="http://forrest.apache.org/docs/your-project.html">Getting Started</a>
guide. If you have any questions or suggestions, please subscribe to the
<a href="http://forrest.apache.org/mail-lists.html">Forrest mailing lists</a>.</p>
<p>Thanks for using Apache Forrest!</p>
<hr />
<p>Copyright 2002-2004 Apache Software Foundation. All rights reserved.</p>
</body>
</html>