Set the communication with the Back Office and the PDF server - Fluid Topics - 3.11

Install Fluid Topics on Multiple Servers

Operating system
Debian
Category
Technical Notes
Audience
public
Version
3.11

The ws.conf.json file allows the front server to communicate with the Back Office and the PDF server.

  1. Create the “-“ directory:

    As antidot user

    mkdir /usr/local/afs7/Fluid-Topics/conf/-

  2. Create the following file:

    As antidot user

    /usr/local/afs7/Fluid-Topics/conf/-/ws.conf.json

  3. Add the following lines:

    {
    "bo": "$BACK_OFFICE_URL|$BACK_OFFICE_HOSTNAME",
    "boApiKey": "$BACK_OFFICE_USER_API_KEY",
    "pdfServer": "$PDF_SERVER_HOSTNAME:pdfPort"
    }

Where:

  • "bo" is the URL (starting with http or https) of the Back Office or the hostname of the server hosting the Back Office Environment. "localhost" by default.
  • "boApiKey" is the API key used to access the Back Office instead of using the Back Office user name and user password.
  • "pdfServer" is the hostname of the server hosting the PDF Server Environment (antidot-fluidtopics-pdf-server).
  • "pdfPort" is the port number used by the pdfServer.

PDF server configuration can be modified in the fluidtopics_pdf_server.conf Configuration File.