|
|
Choosing A Webhost: |
svn commit: r533146 - /lenya/docu/src/documentation/content/xdocs/docs/modu: msg#00230cms.lenya.cvs
Author: andreas Date: Fri Apr 27 08:47:04 2007 New Revision: 533146 URL: http://svn.apache.org/viewvc?view=rev&rev=533146 Log: Added more docs to resource module (moved from module.xml) Modified: lenya/docu/src/documentation/content/xdocs/docs/modules/resource/index.xml Modified: lenya/docu/src/documentation/content/xdocs/docs/modules/resource/index.xml URL: http://svn.apache.org/viewvc/lenya/docu/src/documentation/content/xdocs/docs/modules/resource/index.xml?view=diff&rev=533146&r1=533145&r2=533146 ============================================================================== --- lenya/docu/src/documentation/content/xdocs/docs/modules/resource/index.xml (original) +++ lenya/docu/src/documentation/content/xdocs/docs/modules/resource/index.xml Fri Apr 27 08:47:04 2007 @@ -31,6 +31,74 @@ it allows to store arbitrary media documents. </p> </section> + + <section> + <title>Installation</title> + <ol> + <li> + <p> + Declare the module in the <code><![CDATA[<modules/>]]></code> section of + <code>$PUB_HOME/config/publication.xml</code>: + </p> + <source xml:space="preserve"><![CDATA[<module name="resource"/>]]></source> + </li> + <li> + <p> + Assign a workflow schema to the resource type in <code>$PUB_HOME/config/publication.xml</code>: + </p> + <source xml:space="preserve"><![CDATA[<resource-type name="resource" workflow="fallback://config/workflow/workflow.xml"/>]]></source> + </li> + <li> + <p> + Define the usecase policies in <code>$PUB_HOME/config/access-control/usecase-policies.xml</code> + (or use the usecase administration GUI): + </p> + <source xml:space="preserve"><![CDATA[<usecase id="resource.create"> + <role id="admin"/> + <role id="edit"/> +</usecase> +<usecase id="resource.upload"> + <role id="admin"/> + <role id="edit"/> +</usecase>]]></source> + </li> + </ol> + </section> + + <section> + <title>Headless Mode</title> + <p> + Options: + </p> + <ul> + <li><a href="http://www.idautomation.com/kb/xwindow-error.html">http://www.idautomation.com/kb/xwindow-error.html</a></li> + <li><a href="http://www.jguru.com/faq/view.jsp?EID=222296">http://www.jguru.com/faq/view.jsp?EID=222296</a></li> + <li>try <code>java.awt.headless=true</code> in the case of Java 1.4</li> + <li> + run X servere: + <source xml:space="preserve">Virtual framebuffer X server: + +Installation instructions for debian + +apt-get install xvfb +apt-get install xlibs +apt-get install xfonts-base + +nohup Xvfb :0 -screen 0 1024x786x16 & +export DISPLAY=:0</source> + </li> + </ul> + <p> + Also you might want to add <code>export DISPLAY=:0</code> in <code>lenya.sh</code>, such + that the <code>DISPLAY</code> variable is set during startup of Jetty, e.g. + </p> + <source xml:space="preserve"># ----- Verify and Set Required Environment Variables ------------------------- + +if [ "$DISPLAY" = "" ] ; then +export DISPLAY=:0 +fi</source> + </section> + <section> <title>Resource Icons</title> <p>
|
|
| <Prev in Thread] | Current Thread | [Next in Thread> |
|---|---|---|
| Previous by Date: | svn commit: r533144 - /lenya/trunk/src/modules/tinymce/README, andreas |
|---|---|
| Next by Date: | svn commit: r533147 - /lenya/trunk/src/modules/resource/config/module.xml, andreas |
| Previous by Thread: | svn commit: r533144 - /lenya/trunk/src/modules/tinymce/README, andreas |
| Next by Thread: | svn commit: r533147 - /lenya/trunk/src/modules/resource/config/module.xml, andreas |
| Indexes: | [Date] [Thread] [Top] [All Lists] |
Free MagazinesCisco NewsReceive a free quarterly e-newsletter with exclusive articles on how Cisco IT uses its own products and solutions to enable the business. subscribe Systems Management News, the newspaper for IT systems administration and data center managers! Each issue of Systems Management News is chock-full of news and analysis to help you understand what's happening in your field. subscribe The Enterprise Newsweekly eWeek is the essential technology information source for builders of e-business. subscribe Oracle Magazine Oracle Magazine contains technology strategy articles, sample code, tips, Oracle and partner news, how to articles for developers and DBAs, and more. Oracle (NASDAQ: ORCL) is the world's largest enterprise software company. subscribe Total Telecom Total Telecom is "The Economist of the communications industry". subscribe |