As part of the deployment process, the source data in
reference\discover-data
is copied to the
<installation path>\Endeca\Apps\Discover
, and
Forge processes the source data as part of the baseline update. Deploying the
Forge-based version of the Discover Electronics Reference Application is not
recommended.
Before you begin, you must install Tools and Frameworks using the Complete Installation type of installation. The complete installation installs Forge by default. You do not need to install the Content Acquisition System (CAS) to deploy the Discover Electronics reference application using Forge.
The indexed data is loaded into two separate Dgraph instances. One is an authoring instance Dgraph and the other is a live Dgraph for the application.
To deploy the Discover Electronics reference application:
Ensure that the Oracle Commerce Workbench Service is running.
If you haven't already, create a directory for deployed Endeca applications, such as
C:\Endeca\Apps
on Windows, or/usr/local/endeca/apps
on UNIX.Run the Deployment Template to create the application:
Navigate to the
<installation path>\ToolsAndFrameworks\<version>\deployment_template\bin
directory on Windows, or<installation path>/ToolsAndFrameworks/<version>/deployment_template/bin
on UNIX.Run the
deploy
script with the--app
flag and an argument that specifies the path to thedeploy.xml
descriptor file:For example:
C:\Endeca\ToolsAndFrameworks\11.3.0\deployment_template\bin>deploy --app C:\Endeca\ToolsAndFrameworks\11.3.0\reference\discover-data\deploy.xml
Specify
Discover
as the application name.Note
The application configuration depends on this name and case sensitivity is important.
If you enter the application name incorrectly, you must update the
workbench.app.name
in theWEB-INF/assembler.properties
file to match the name that you entered.Specify the application directory previously created for applications. This is typically a directory, such as
C:\Endeca\Apps
on Windows or/usr/local/endeca/apps
on UNIX.Specify the EAC port and then you can press Enter to accept the default values for subsequent prompts about port values and the Oracle Wallet. (Oracle recommends using the default values.)
Specify the path to the location where you can export your application content to, or press Enter to accept the default path of
../../server/workspace/state/repository
.Specify the path to the location where you can publish your authoring application content to, or press Enter to accept the default path of
../../server/workspace/state/generation_data
.Note
In the paths to locations for exported or published content, use forward leaning slashes (/) in Windows as well as in UNIX.
Specify the language code for your Discover application. The Forge-based version of the Discover Electronics Reference Application is available in English only. Therefore, type
en
or accept the default setting.
Navigate to the
control
directory of your new deployed application.This is located under your application directory, for example:
C:\Endeca\Apps\Discover\control
on Windows.Run the
initialize_services
script.This script does the following:
Confirm that the Discover Electronics reference applications are running: