Deploying the UDTTVueProject application
When you have built the UDTTVueProject application, you can deploy the application into a different Eclipse development environment, for example, an environment that includes tools for developing Vue and Vuex applications, or you can deploy the application into your production environment.
Deploying the UDTTVueProject application into a different development environment
Complete the following steps to deploy the UDTTVueProject application into a different development environment.
2 Set up the UDTTVueProject application by completing the following steps:
a Import the project into Eclipse.
b Enable CORS by editing the following settings in ../UDTTVueProject/public/unicomsi/btt/clientengine/Configure.js:
i Set CORS to true for cross domain access.
ii Set _BASE to the base url of the UDTTServerProject application.
For example:
CORS : true
var _BASE = "http://<base_URL>:8080/UDTTServerProject/";
Deploying the UDTTVueProject application into a production environment
When you have built the UDTTVueProject application, you can use the following steps to deploy the application to your production environment.
If you are deploying the UDTTVueProject application into a production environment, you have two options:
Integrate UDTTVueProject application with BTTServerProject
1 Copy the build output from the UDTTVueProject application to ../UDTTServerProject/WebContent/ .
2 Deploy the UDTTServerProject application to an application server, for example IBM WebSphere Application Server.
3 Launch the application in a browser by using the following URL: http:// <host>:<port> /UDTTServerProject/index.html
Use UDTTVueProject application with reverse proxy
1 Deploy the build output to a web server, for example Apache.
2 Deploy the UDTTServerProject application to an application server, for example IBM WebSphere Application Server.
3 Setup a reverse proxy server, for example Nginx.
See:
Go up to
This site works best with JavaScript enabled