Development

Changeset 3896

You must first sign up to be able to contribute.

Changeset 3896

Show
Ignore:
Timestamp:
05/02/07 16:13:24 (6 years ago)
Author:
promag
Message:

Documentation update

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • plugins/sfOpenOfficePlugin/README

    r3895 r3896  
    4949  }}} 
    5050 
     51To be more correct, you should enable it in the dev environment or on any backend application. Now open that module in the browser: http://localhost/app_dev.php/sfOpenOfficeSetup. You should see something like: 
    5152 
    52 === osX === 
     53[[Image(setup1.png)]] 
    5354 
    54 If you have the stable version of symfony, and you want to try our test module, you need to do: 
    55 {{{ 
    56 ln -s plugins/sfOpenOfficePlugin/modules/sfOpenOffice apps/aplication/modules/sfOpenOffice 
    57 }}} 
    58 Check this ticket to see why. 
    59  
    60 In your global app.yml, you should add the following parameters: 
    61 {{{ 
    62 all: 
    63   sfOpenOfficePlugin: 
    64     ooffice_cmd: /Applications/OpenOffice.app/Contents/MacOS/program/soffice 
    65     temp_dir:    '/tmp' 
    66     unzip_cmd:   'unzip -d' 
    67 }}} 
    68  
    69 To create your first dynamic template, you should use our task: 
    70 {{{ 
    71 symfony ooffice-create-document frontend sfOpenOffice test.odt 
    72 }}} 
    73  
    74 === Linux === 
    75  
    76 In order to setup correctly !OpenOffice.org, you need to activate the license. We suggest that you run OpenOffice in X with the user apache. 
    77  
    78 Change to the apache user (here apache): 
    79  
    80 {{{ 
    81 sudo su apache 
    82 }}} 
    83  
    84 If you don't have possibility to run X, use a vncserver or Xvnc. 
    85 {{{ 
    86 vncserver :9 -nohttpd -rfbport 5901 
    87 }}} 
    88  
    89 Connect to remote host with a vnc client 
    90 {{{ 
    91 vnc host.com:5901 
    92 }}} 
    93  
    94 Then, just run !OpenOffice.org in display 9 
    95 {{{ 
    96 $PATH_TO_OOFICE_BIN_DIR/soffice -display :9 
    97 }}} 
    98  
    99 A license agreement dialog should appear. Proceed with the installation. 
    100  
    101 === Windows === 
    10255 
    10356== Test it ==