Deployment guide - mschvarc/PB138-Inventory-Management GitHub Wiki

To deploy this project using IDEA Pro follow these steps:

  1. Download Apache Tomcat Core ZIP
  2. Extract the ZIP
  3. Enable 'Tomcat and TomEE Integration' plugin support and restart IDEA
  4. Run/Debug Configuration > Tomcat Server, point to extracted ZIP directory
  5. Run/Debug Configuration > Deployment: Artifact: inventory-management-web:war (do not use exploded deployment)
  6. Run/Debug Configuration > After launch: http://localhost:8080/
  7. Start the above configuration
  8. Main webpage should open
  9. Verify http://localhost:8080/services/ works by showing a list of all SOAP services

Manual deployment:

  1. Download Apache Tomcat Core ZIP
  2. Extract the ZIP
  3. Run mvn clean install on PB138-Inventory-Management
  4. Copy the content of web/target/inventory-management-web-1.0-SNAPSHOT/ to Tomcat/webapps/ROOT/
  5. Start Tomcat (tomcat/bin/startup)
  6. Open http://localhost:8080/
  7. Verify http://localhost:8080/services/ works by showing a list of all SOAP services

In either case, modify Tomcat/webapps/ROOT/WEB-INF/classes/emailconfig.xml to setup email sending