Skip to content

Use dockerized local development environment for Hippo CMS instead of cargo

Notifications You must be signed in to change notification settings

bcanvural/hippo-hotswap

Repository files navigation

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

About

Use dockerized local development environment for Hippo CMS instead of cargo

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published