• Install LXML
  • Install IPCA6TransDef
  • Ipca6TransDef Installation manual




    Download 346 Kb.
    Sana22.12.2019
    Hajmi346 Kb.
    #4596

    Install Python

    1. Prerequisites


    • Version: 2.6.2

    • File Name: python-2.6.2.msi
        1. Install


    Execute python-2.6.2.msi and follow instructions keeping default values.

    NB: Install as an Administrator and make python available to all users.


      1. Install LXML

        1. Prerequisites


    • Version: 2.2.1

    • File Name: lxml-2.2.1.win32-py2.4.exe
        1. Install


    Execute lxml-2.2.1.win32-py2.4.exe and follow instructions keeping default values.
      1. Install mod_wsgi

        1. Prerequisites


    • Version: 3.3

    • File Name: mod_wsgi-win32-ap22py26-3.3.so
        1. Install


    1. copy mod_wsgi-win32-ap22py26-3.3.so to mod_wsgi.so into the modules directory under Apache installation directory.

    2. edit httpd.conf in conf directory under Apache installation directory and add the following line after the last one beginning with “LoadM;odule …”:
      LoadModule wsgi_module modules/mod_wsgi.so

    3. restart Apache
      1. Install IPCA6TransDef

        1. Prerequisites


    • Version: 1.1

    • File Name: ipca6transdef.zip


    For each edition to translate, the definitions masterfiles in Authentic Languages must be inside a Data Folder. Example:

    C:\IPC\data\20090101\ipcr_elayer_definitions\ipcr_elayer_definitions_20090101.xml
        1. Install


    1. extract ipca6transdef.zip to c:\

    2. edit httpd.conf in conf directory under Apache installation directory and add the following lines after the comments section with “# Aliases: …”:

    WSGIPythonPath C:/ipca6transdef/defedit;C:/python24

    WSGIScriptAlias /definitionsEditor C:/ipca6transdef/defedit/defedit.py



    Order allow,deny

    Allow from all

    ExpiresActive Off

    FileETag None

    Alias /ipca6transdef "C:/ipca6transdef/"



    Options Indexes Multiviews

    AllowOverride None

    Order allow,deny

    Allow from all

    Alias /ipcdata "C:/ipc/data"



    Options Indexes Multiviews

    AllowOverride None

    Order allow,deny

    Allow from all

    ExpiresActive Off

    FileETag None

    Uncomment the following line:


    LoadModule expires_module modules/mod_expires.so

    1. edit C:/ipca6transdef/defedit/config.cfg and modify it as necessary.

    2. restart Apache

    3. start a web browser and go to :
      http://localhost/ipca6transdef/manager.html


    4. start a web browser and go to :
      http://localhost/ipca6transdef/index.html


    Note: to access the application from a remote PC you have to replace localhost by your web server root location.



    22/12/19 ver 1.1

    Download 346 Kb.




    Download 346 Kb.