OTS v3.0.0 Installation instructions
=====================================
1. Intall node.js v22.11.0
2. Intall pm2 v5.4.3

3. Installing OTS v3.0.0:
    3a. Download the installation package OTS_v3.0.0.tgz.
    3b. Unzip OTS_v3.0.0.tgz using the following command. This will extract the application to /opt/OTS.
        tar xvzf OTS_v3.0.0.tgz -C /
    
3. Define Environment Variables
    Add the following variables to /etc/environment:
    
    # Server prefix used with environment variables
    OXSNPS_SERVER_PREFIX=SANLAM_OTS_
    
    # Office server connection information
    # ***** Replace <oxs-office-server IP> with the actual oxs-office-server address *****#
    SANLAM_OTS_OFFICE_SERVER = {"protocol": "https", "hostname":<oxs-office-server IP>, "port":1075, "httptimeout":60000, "retryOptions": {"interval": 10000, "count": 5, "errorCodes":["ECONNREFUSED", "ECONNRESET", 502,504]}}
        -- Change hostname with oxs-office-server IP address

    # Retry options for office conversions
    SANLAM_OTS_OFFICE_RETRY_OPTS={"count": 5, "interval": 10000}

4. Ensure that the tempDir path defined in /opt/OTS/conf/server-conf.js is a shared folder and is accessible to oxs-office-server.
    
5. Go to /opt/OTS.
6. Start the OTS server using the following command:
    6a. ./ots2 
7. The server will start and listen on port 8080
8. For more details, refer to /opt/OTS/doc/OTSServer_2.5.x_User_Guide.pdf

Testing OTS:
=============
1. Send HTTP SOAP Requests to the OTS server for transformations, following the same approach as before.
