Custom Framework Application Folder Structure like below.
-
In customframework_common.js,
Change EAM_DOMAIN = ‘https://<servername>:<port>’;
which was located sample\sampleApp\static\javascript\customframework_common.js
The <servername> and <port> should be replaced with the server and port mentioned in config.yml file.
Example: If your config.yml is
then the EAM_DOMAIN = ‘https://<servername>:<port>’.
-
On Windows or LINUX Open command prompt as administrator and specify path and run the following command. (This war file should be created inside sampleApp folder.).
\sampleApp> jar cvf sampleApp.war.
-
A war file will be created as sampleApp.war, then rename the war file to sampleApp.zip.
Note: Folder structure should be as shown above.
-
Copy the zip file into the location <EAM_HOME>/overrides/customerwars.
-
Follow the Base CD Image installation and deployment process for Windows and Linux.
-
Choose one of the following options to redeploy the HxGN EAM application:
-
On Windows, execute the deploy batch script: deploy.bat.
-
On Linux, execute the deploy shell script: ./deploy.sh.
-
-
Restart HxGN EAM Service.