The ws.conf.json file allows the front server to communicate with the Back Office and the PDF server.
- Create the “-“ directory:
As antidot user
mkdir /usr/local/afs7/Fluid-Topics/conf/-
- Create the following file:
As antidot user
/usr/local/afs7/Fluid-Topics/conf/-/ws.conf.json
- 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.