bcanvural / hippo-hotswap

Use dockerized local development environment for Hippo CMS instead of cargo

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

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


Languages

Language:FreeMarker 50.9%Language:Java 36.0%Language:Shell 6.9%Language:Dockerfile 5.1%Language:CSS 1.2%