Basic CUE Configuration
CUE configuration involves configuring CUE itself, and also configuring the nginx web server that serves the CUE application.
The actual
CUE
configuration consists of editing YAML format configuration files,
identified by the file type extension .yml
. The
delivered system includes a number of such configuration files
containing
CUE's
default configuration settings. These files are located in the
/etc/escenic/cue-web
folder.
The /etc/escenic/cue-web
folder also contains a
file called config.yml.template
, containing the
property settings that you always need to set when installing
CUE. To use
this file you rename it to config.yml
and then edit
the contents.
To configure CUE:
-
If necessary, switch user to
root
.$
sudo su -
Copy
/etc/escenic/cue-web/config.yml.template
toconfig.yml
:#
cp/etc/escenic/cue-web/config.yml.template
/etc/escenic/cue-web/config.yml
-
Open the new
/etc/escenic/cue-web/config.yml
for editing. For example#
nano /etc/escenic/cue-web/config.yml -
Uncomment and set the required endpoint parameters (which you will find at the top of the file):
endpoints: escenic: "http://escenic-host:81/webservice/index.xml" newsgate: "http://newsgate-host/newsgate-cf/"
where:
-
escenic-host is the IP address or host name of the Content Store CUE is to provide access to
-
newsgate-host is the IP address or host name of the CCI Newsgate system CUE is to provide access to. If no CCI Newsgate system is present, then do not uncomment the
newsgate:
line.
-
-
If your CUE configuration makes use of an Escenic-CCI Newsgate bridge, then you will need to add a third line under
endpoints
:endpoints: escenic: "http://escenic-host:81/webservice/index.xml" newsgate: "http://newsgate-host/newsgate-cf/" bridge: "http://bridge-host:7001/ngece-bridge/"
where bridge-host is the IP address or host name of an Escenic-CCI Newsgate bridge. (A bridge is a service capable of converting Escenic content to Newsgate format, and is required to support Newsgate write-to-fit functionality in CUE.)
-
Save the file.
-
Enter:
#
dpkg-reconfigure cue-web-3.13This reconfigures CUE with the Content Store web service URL you specified in step 3.
You now need to configure the nginx web server to serve the CUE application, as described in Nginx Configuration.