Building and Deploying an Application
Contents
Complete the procedures on this page after you have created and customized your Genesys Web Engagement application.
Building your Application
After you complete this procedure, your application's .war files are created in sub-directories of the <GWE_installation>\apps\<your_application_name> folder.
Start
- Navigate to the installation directory for Genesys Web Engagement and open a new console window.
- Use the build script (build.bat on Windows and build.sh on Linux) to build your application:
build <your_application_name>
End
The script builds .war files used for deployment. If the build is successful, the console output displays a BUILD SUCCESSFUL messages at run-time, and the .war files are created in the sub-directories:
- <GWE_installation>\apps\<your_application_name>\backend\target\backend.war
- <GWE_installation>\apps\<your_application_name>\frontend\target\frontend.war
In addition, a new map.xml file is created in the <GWE_installation>\apps\<your_application_name>\proxy\target\ directory.
Next Steps
Deploying your Application
Prerequisites
- Your build was successful. If your build fails due to errors, try to fix them, then rebuild. You can neither deploy nor start your Web Engagement servers if the build is not successful.
Start
- Navigate to the installation directory for Genesys Web Engagement and open a new console window.
- Use the deploy script (deploy.bat on Windows and deploy.sh on Linux) to build your application:
deploy <your_application_name>
End
The deploy script copies files to the appropriate locations. If the deploy is successful, the script output displays a BUILD SUCCESSFUL messages at run-time.
Next Steps