[Erp5-report] r38431 gabriel - in /erp5/trunk/utils/cloudooo/cloudooo: ./ samples/

nobody at svn.erp5.org nobody at svn.erp5.org
Thu Sep 16 23:12:50 CEST 2010


Author: gabriel
Date: Thu Sep 16 23:12:49 2010
New Revision: 38431

URL: http://svn.erp5.org?rev=38431&view=rev
Log:
- update README
- add sample of cloudooo configuration
- rename cloudooo.conf to cloudooo.conf.in, because it will be used by echo_cloudooo_conf script and is more templeable.

Added:
    erp5/trunk/utils/cloudooo/cloudooo/samples/cloudooo.conf
    erp5/trunk/utils/cloudooo/cloudooo/samples/cloudooo.conf.in
      - copied, changed from r38318, erp5/trunk/utils/cloudooo/cloudooo/samples/cloudooo.conf
    erp5/trunk/utils/cloudooo/cloudooo/samples/sample.conf
Modified:
    erp5/trunk/utils/cloudooo/cloudooo/README.txt
    erp5/trunk/utils/cloudooo/cloudooo/mimemapper.py

Modified: erp5/trunk/utils/cloudooo/cloudooo/README.txt
URL: http://svn.erp5.org/erp5/trunk/utils/cloudooo/cloudooo/README.txt?rev=38431&r1=38430&r2=38431&view=diff
==============================================================================
--- erp5/trunk/utils/cloudooo/cloudooo/README.txt [utf8] (original)
+++ erp5/trunk/utils/cloudooo/cloudooo/README.txt [utf8] Thu Sep 16 23:12:49 2010
@@ -3,7 +3,8 @@ Install Cloudooo
   
   $ python2.6 setup.py install
   
-  Warning: you must have installed setuptools>=0.6c11 in this python.
+  Warnings:
+      - you must have installed setuptools>=0.6c11 in this python.
 
 Install Dependencies in Mandriva
 ================================
@@ -38,12 +39,12 @@ Create Configuration File
 =========================
   
   The configuration file is used to start the application using paster.
-  $ cp ./cloudooo/samples/cloudooo.conf . # Copy to current folder
+  $ cp ./cloudooo/samples/samples.conf . # Copy to current folder
 
   The next step is define some attributes in cloudooo.conf:
- 
+    - working_path - folder to run the application. This folder need be created.
     - uno_path - full path to UNO library;
-    - soffice_bin_path - full path to soffice.bin;
+    - soffice_binary_path - full path to soffice.bin;
 
 Run Application
 ===============

Modified: erp5/trunk/utils/cloudooo/cloudooo/mimemapper.py
URL: http://svn.erp5.org/erp5/trunk/utils/cloudooo/cloudooo/mimemapper.py?rev=38431&r1=38430&r2=38431&view=diff
==============================================================================
--- erp5/trunk/utils/cloudooo/cloudooo/mimemapper.py [utf8] (original)
+++ erp5/trunk/utils/cloudooo/cloudooo/mimemapper.py [utf8] Thu Sep 16 23:12:49 2010
@@ -106,7 +106,7 @@ class MimeMapper(object):
     office_binary_path = kw.get("office_binary_path", environ.get('office_binary_path'))
     command = [python_path
               , "'-c'"
-	      , "'from cloudooo.bin.unomimemapper import main;main()'"
+              , "'from cloudooo.bin.unomimemapper import main;main()'"
               , "'--uno_path=%s'" % uno_path
               , "'--office_binary_path=%s'" % office_binary_path
               , "'--hostname=%s'" % hostname, "--port=%s" % port]

Added: erp5/trunk/utils/cloudooo/cloudooo/samples/cloudooo.conf
URL: http://svn.erp5.org/erp5/trunk/utils/cloudooo/cloudooo/samples/cloudooo.conf?rev=38431&view=auto
==============================================================================
--- erp5/trunk/utils/cloudooo/cloudooo/samples/cloudooo.conf (added)
+++ erp5/trunk/utils/cloudooo/cloudooo/samples/cloudooo.conf [utf8] Thu Sep 16 23:12:49 2010
@@ -0,0 +1,47 @@
+[app:main]
+use = egg:cloudooo
+#
+## System config
+#
+debug_mode = True
+# Folder where pid files, lock files and virtual frame buffer mappings 
+# are stored. In this folder is necessary create a folder tmp, because this 
+# folder is used to create all temporary documents.
+working_path = /hd/cloudooo/run
+# Folder where OpenOffice Uno interpreter is installed
+uno_path = /opt/openoffice.org3/basis-link/program
+# Folder where OpenOffice Binarie is installed
+office_binary_path = /opt/openoffice.org3/program
+#
+## Monitor Settings
+#
+# Limit to use the Openoffice Instance. if pass of the limit, the instance is 
+# stopped and another is started.
+limit_number_request = 100
+# Interval to check the factory
+monitor_interval = 10
+timeout_response = 180
+enable_memory_monitor = True
+# Set the limit in MB
+# e.g 1000 = 1 GB, 100 = 100 MB
+limit_memory_used = 3000
+#
+## OOFactory Settings
+#
+# The pool consist of several OpenOffice.org instances
+application_hostname = localhost
+# OpenOffice Port
+openoffice_port = 4062
+#
+## Xvfb Settings
+#
+# Default port to xvfb
+virtual_display_port = 6097
+# ID of the virtual display where OOo instances are launched
+virtual_display_id = 97
+virtual_screen = 0
+
+[server:main]
+use = egg:PasteScript#wsgiutils
+host = 0.0.0.0
+port = 8011

Copied: erp5/trunk/utils/cloudooo/cloudooo/samples/cloudooo.conf.in (from r38318, erp5/trunk/utils/cloudooo/cloudooo/samples/cloudooo.conf)
URL: http://svn.erp5.org/erp5/trunk/utils/cloudooo/cloudooo/samples/cloudooo.conf.in?p2=erp5/trunk/utils/cloudooo/cloudooo/samples/cloudooo.conf.in&p1=erp5/trunk/utils/cloudooo/cloudooo/samples/cloudooo.conf&r1=38318&r2=38431&rev=38431&view=diff
==============================================================================
--- erp5/trunk/utils/cloudooo/cloudooo/samples/cloudooo.conf [utf8] (original)
+++ erp5/trunk/utils/cloudooo/cloudooo/samples/cloudooo.conf.in [utf8] Thu Sep 16 23:12:49 2010
@@ -1,43 +1,17 @@
 [app:main]
 use = egg:cloudooo
-#
-## System config
-#
-debug_mode = True
-# Folder where pid files, lock files and virtual frame buffer mappings 
-# are stored. In this folder is necessary create a folder tmp, because this 
-# folder is used to create all temporary documents.
+debug_mode = @DEBUG_MODE@
 working_path = @WORKING_PATH@
-# Folder where OpenOffice Uno interpreter is installed
 uno_path = @UNO_PATH@
-# Folder where OpenOffice Binarie is installed
 office_binary_path = @OFFICE_BINARY_PATH@
-#
-## Monitor Settings
-#
-# Limit to use the Openoffice Instance. if pass of the limit, the instance is 
-# stopped and another is started.
 limit_number_request = @NUMBER_MAXIMUM_OF_REQUEST@
-# Interval to check the factory
 monitor_interval = @MONITOR_INTERVAL@
 timeout_response = @TIMEOUT_RESPONSE@
 enable_memory_monitor = @ENABLE_MEMORY_MONITOR@
-# Set the limit in MB
-# e.g 1000 = 1 GB, 100 = 100 MB
 limit_memory_used = @MAXIMUM_USE_BY_OPENOFFICE@
-#
-## OOFactory Settings
-#
-# The pool consist of several OpenOffice.org instances
 application_hostname = @APPLICATION_HOSTNAME@
-# OpenOffice Port
 openoffice_port = @OPENOFFICE_PORT@
-#
-## Xvfb Settings
-#
-# Default port to xvfb
 virtual_display_port = @XVFB_PORT@
-# ID of the virtual display where OOo instances are launched
 virtual_display_id = @XVFB_DISPLAY_ID@
 virtual_screen = @XVFB_SCREEN_NUMBER@
 

Added: erp5/trunk/utils/cloudooo/cloudooo/samples/sample.conf
URL: http://svn.erp5.org/erp5/trunk/utils/cloudooo/cloudooo/samples/sample.conf?rev=38431&view=auto
==============================================================================
--- erp5/trunk/utils/cloudooo/cloudooo/samples/sample.conf (added)
+++ erp5/trunk/utils/cloudooo/cloudooo/samples/sample.conf [utf8] Thu Sep 16 23:12:49 2010
@@ -0,0 +1,47 @@
+[app:main]
+use = egg:cloudooo
+#
+## System config
+#
+debug_mode = True
+# Folder where pid files, lock files and virtual frame buffer mappings 
+# are stored. In this folder is necessary create a folder tmp, because this 
+# folder is used to create all temporary documents.
+working_path = /hd/cloudooo/run
+# Folder where OpenOffice Uno interpreter is installed
+uno_path = /opt/openoffice.org3/basis-link/program
+# Folder where OpenOffice Binarie is installed
+office_binary_path = /opt/openoffice.org3/program
+#
+## Monitor Settings
+#
+# Limit to use the Openoffice Instance. if pass of the limit, the instance is 
+# stopped and another is started.
+limit_number_request = 100
+# Interval to check the factory
+monitor_interval = 10
+timeout_response = 180
+enable_memory_monitor = True
+# Set the limit in MB
+# e.g 1000 = 1 GB, 100 = 100 MB
+limit_memory_used = 3000
+#
+## OOFactory Settings
+#
+# The pool consist of several OpenOffice.org instances
+application_hostname = localhost
+# OpenOffice Port
+openoffice_port = 4062
+#
+## Xvfb Settings
+#
+# Default port to xvfb
+virtual_display_port = 6097
+# ID of the virtual display where OOo instances are launched
+virtual_display_id = 97
+virtual_screen = 0
+
+[server:main]
+use = egg:PasteScript#wsgiutils
+host = 0.0.0.0
+port = 8011




More information about the Erp5-report mailing list