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

nobody at svn.erp5.org nobody at svn.erp5.org
Mon Aug 9 15:09:37 CEST 2010


Author: gabriel
Date: Mon Aug  9 15:09:36 2010
New Revision: 37657

URL: http://svn.erp5.org?rev=37657&view=rev
Log:
Add configuration to run cloudooo with the configuration file and update documentation to show how it works.

Removed:
    erp5/trunk/utils/cloudooo/Makefile
Modified:
    erp5/trunk/utils/cloudooo/README
    erp5/trunk/utils/cloudooo/cloudooo/samples/cloudooo.conf

Removed: erp5/trunk/utils/cloudooo/Makefile
URL: http://svn.erp5.org/erp5/trunk/utils/cloudooo/Makefile?rev=37656&view=auto
==============================================================================
--- erp5/trunk/utils/cloudooo/Makefile [utf8] (original)
+++ erp5/trunk/utils/cloudooo/Makefile (removed)
@@ -1,6 +0,0 @@
-all: install
-
-PYTHON=python2.6
-
-install:
-	@$(PYTHON) setup.py install

Modified: erp5/trunk/utils/cloudooo/README
URL: http://svn.erp5.org/erp5/trunk/utils/cloudooo/README?rev=37657&r1=37656&r2=37657&view=diff
==============================================================================
--- erp5/trunk/utils/cloudooo/README [utf8] (original)
+++ erp5/trunk/utils/cloudooo/README [utf8] Mon Aug  9 15:09:36 2010
@@ -40,16 +40,22 @@ Create Configuration File
   The configuration file is used to start the application using paster.
   $ cp ./cloudooo/samples/cloudooo.conf . # Copy to current folder
   
-  Next steps is:
+  The next step is define some attributes in cloudooo.conf:
  
-    - Replace the paths of UNO and soffice to OpenOffice.org path in your machine;
-    - Define the python path in python_path;
-    - Define the path to unoconverter.py and unomimemapper.py # This files are created when setup.py is executed
+    - uno and soffice path;
+    - python path;
+    - unomimemapper.py and unoconverter.py paths;# This files are created when setup.py is executed;
+    - user and group; 
+    - paster path in first line;
+
+  After setting all configuration, give executable permission to this file.
+
+    $ chmod +x cloudooo.conf
 
 Run Application
 ===============
 
-  $ paster serve ./cloudooo.conf
+  $ ./cloudooo.conf
   
 
 Description of Daemon

Modified: erp5/trunk/utils/cloudooo/cloudooo/samples/cloudooo.conf
URL: http://svn.erp5.org/erp5/trunk/utils/cloudooo/cloudooo/samples/cloudooo.conf?rev=37657&r1=37656&r2=37657&view=diff
==============================================================================
--- erp5/trunk/utils/cloudooo/cloudooo/samples/cloudooo.conf [utf8] (original)
+++ erp5/trunk/utils/cloudooo/cloudooo/samples/cloudooo.conf [utf8] Mon Aug  9 15:09:36 2010
@@ -1,3 +1,4 @@
+#!/usr/bin/env paster
 [app:main]
 use = egg:cloudooo
 #
@@ -56,3 +57,11 @@ python_path = /usr/bin/python
 use = egg:PasteScript#wsgiutils
 host = 0.0.0.0
 port = 8011
+
+[exe]
+command = serve
+daemon = true
+user = nobody
+group = nobody
+log-file = cloudooo.log
+pid-file = cloudooo.pid




More information about the Erp5-report mailing list