Deploy The Publication
To deploy demo-temp-dev
, do the following on your
assembly-host, while logged in as
escenic
:
-
Copy
demo-temp-dev.war
to the assembly tool'spublications
folder:$
cp engine-installation/contrib/wars/demo-temp-dev.war assemblytool_installation/publications/ -
Create a text file called
demo-temp-dev.properties
in the assemblytool_installation/publications/
folder, with the following contents:name: demo-temp-dev source-war: demo-temp-dev.war context-root: /demo-temp-dev
-
Reassemble the Content Store installation:
$
ece assemble
Then, on each engine-host, while logged in as
escenic
:
-
If you are installing everything on one host, then skip this step.
On each engine-host, copy
/var/cache/escenic/engine.ear
from the assembly-host. If you have installed an SSH server on the assembly-host and SSH clients on your engine-hosts, then you can do this as follows:$
scp -r escenic@assembly-host-ip-address:/var/cache/escenic/engine.ear /var/cache/escenic/where assembly-host-ip-address is the host name or IP address of your assembly-host.
-
Redeploy the Content Store:
$
ece deploy -
Restart the Content Store:
$
ece restart -
Open a browser and enter the following URL in the address field:
http://engine-host-ip-address:8080/publication-name/
where publication-name is the name you gave to your
demo-temp-dev
publication. This should display the publication.
Publication web applications must be deployed on all hosts where the publications are to be viewed. This normally means all engine-hosts (including editorial-hosts, since writers and editors will want to preview their work). You may not want to deploy this test publication on all your hosts, however.