Deployment guide - mschvarc/PB138-Inventory-Management GitHub Wiki
To deploy this project using IDEA Pro follow these steps:
- Download Apache Tomcat Core ZIP
- Extract the ZIP
- Enable 'Tomcat and TomEE Integration' plugin support and restart IDEA
- Run/Debug Configuration > Tomcat Server, point to extracted ZIP directory
- Run/Debug Configuration > Deployment: Artifact: inventory-management-web:war (do not use exploded deployment)
- Run/Debug Configuration > After launch: http://localhost:8080/
- Start the above configuration
- Main webpage should open
- Verify http://localhost:8080/services/ works by showing a list of all SOAP services
Manual deployment:
- Download Apache Tomcat Core ZIP
- Extract the ZIP
- Run
mvn clean install
on PB138-Inventory-Management - Copy the content of web/target/inventory-management-web-1.0-SNAPSHOT/ to Tomcat/webapps/ROOT/
- Start Tomcat (tomcat/bin/startup)
- Open http://localhost:8080/
- 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