Skip to content
This repository has been archived by the owner on Jun 1, 2023. It is now read-only.

Latest commit

 

History

History
24 lines (16 loc) · 1020 Bytes

readme.md

File metadata and controls

24 lines (16 loc) · 1020 Bytes

web-java-spring-petclinic

Spring PetClinic Sample Application

Developer Workspace

Contribute

This Eclipse Che Factory can also be invoked with any host: {hostURL}/f?url=https://github.com/che-samples/web-java-spring-petclinic It will read the .factory.json from the repository to instanciate the developer workspace.

Example: http://che.openshift.io/f?url=https://github.com/che-samples/web-java-spring-petclinic

How to run

# Description Command
1 Build and copy war mvn -f ${current.project.path} clean install && cp ${current.project.path}/target/*.war $TOMCAT_HOME/webapps/ROOT.war
2 Run Tomcat $TOMCAT_HOME/bin/catalina.sh run
3 Stop Tomcat $TOMCAT_HOME/bin/catalina.sh stop
4 Tomcat Debug Mode $TOMCAT_HOME/bin/catalina.sh jpda run