Deploying the sample Chat client on an Apache HTTP server

Last Updated : Mar 20, 2017 |

About this task

Use this procedure to deploy the sample Chat client on an Apache HTTP server.

Note:

In the sample Chat client, all components are browser-based. Therefore, it is not necessary to deploy the sample Chat client to a server for testing. You can run the sample Chat client locally on your own computer.

Before you begin

Ensure that you download the latest software for the sample Chat client from the Avaya DevConnect portal at http://www.avaya.com/devconnect.

For information about Avaya DevConnect, see Avaya DevConnect Program Guide available on https://support.avaya.com.

Procedure

  1. Install Apache HTTP Server 2.4.20 or later on a server and configure it so that it can communicate.
  2. Copy the war file of the sample Chat client to the <Apache root directory>/htdocs folder.
  3. Create a new folder for the sample Chat client in the <Apache root directory>/htdocs folder and name the folder as webUI.
  4. Extract the contents of the war file into the webUI folder.

    On a Linux machine, you can run the unzip command to extract the contents. For example, unzip ocp-web-ui.war –d webui.

  5. Browse to the following URL:

    <Apache HTTP Server IP Address>:8080/WebUI/home.html

    The system displays the Live Chat screen.

  6. You can use this sample Chat client to verify your solution configuration.