Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

  1. Pull the latest Device Manager UI project from the repository.
  2. After completing the pull, go the resources folder in the device manager UI project, and add the device manager server url as shown below.
    1. Navigae Navigate to (device-manager-ui\src\main\resource) open application.properties file set device_manager url to devicemanager .path

  Image Removed

...

  • Navigate to resource folder in device manager project(device-manager\src\main\resource) folder.
  • Open application.properties and update springfox.documentation.swagger.v2.host={protocol}:{host:port} value with selected port of your choice.

Image Added

    1. Update Device Manager URL to device-manager-ui  as shown below.

  Image Added

3.  Now

...

navigate to the project Home folder and run the command “mvn clean install”.

4. This will build device-manager-ui-1.0.0-SNAPSHOT.war file of device-manager

...

-ui in the folder “project_home/target”.

Deploy Device Manager UI application

Device Manager application should be deployed in Tomcat server (ver 8.5 or above). Follow the below steps to deploy the application.

  1. Copy device-manager-ui-1.0.0-SNAPSHOT.war file from “project_home/target” to “TOMCAT_HOME/webapps” folder.
  2. Rename device-manager-ui-1.0.0-SNAPSHOT.war to DeviceManagerUI.war.
  3. If you need to run the tomcat server in a port other than 8080, please follow the below steps to change the same.
    • Navigate to the folder “TOMCAT_HOME/conf”.
    • Open server.xml and change the connector port in this file from 8080 to an available port of your choice. If another tomcat is running the same machine then change the DEFAULT Tomcat server SHUTDOWN port from 8005 to another available port. If you dont need to a SHUTDOWN port for tomcat then change the default port from 8005 to “-1”.
  4. To start Device Manager application go to “TOMCAT_HOME/bin” folder and run sh or startup.bat (if its running on Microsoft windows) script.
  5. To verify server logs check “TOMCAT_HOME/logs/catalina.out” file.


To verify Device Manager UI application go to the URL : “{protocol}://{host:port}/DeviceManagerUI/container.html“