Skip to content

Latest commit

 

History

History
36 lines (27 loc) · 1000 Bytes

README.md

File metadata and controls

36 lines (27 loc) · 1000 Bytes

Use docker for local development

This project contains configuration for using a dockerized tomcat server instead of OOTB cargo.run profile


Skip all and use hotswap in your own hippo project:

From inside an archetype project:

$ docker run --rm --mount type=bind,source=$(pwd),target=/home/myhippoproject bcanvural/hotswap-prepper:v1

Then run

$ ./deploy_local_tomcat.sh

Build project, build docker image, run image

$ ./deploy_local_tomcat.sh

Use HotSwap Agent

Compile code in IDE, classes will be hot-swapped within container

Redeploy site to running instance

For cases where hotswap operation is not supported, repackage and redeploy site module:

$ ./redeploy-site.sh

Debugging

Attach remote debugger at port 8000 (by default) or pass JAVA_DEBUG_PORT env variable in dockerfile