Demo App

The Demo app provides an introduction to some of the features and components available in Apache Isis. It is bundled as a Docker image (apacheisis/demo-springboot) on Docker Hub.

The app allows you to learn the very basics with a minimum of hassle. You can also use it to discover some of the more advanced features that the framework has to offer.

Prereqs

Head over to Docker to install the community edition.

Running the Docker Image

  • Pull the Demo image

    docker pull apacheisis/demo-springboot:latest
  • Running the Docker Image

    docker run \
            --name demo \
            --detach \
            -p8080:8080 \
            apacheisis/demo-springboot:latest

    The Demo app can then be accessed at http://localhost:8080/wicket/. Login with sven:pass.

  • Stop and remove the container named demo

    docker stop demo && docker rm demo

Customization

The way in which the app is run by Docker be customised in a couple of ways:

  • Specify a different context Path

    docker run \
            --name demo \
            --detach \
            -p8080:8080 \
            -eContextPath=/myPath \
            apacheisis/demo-springboot:latest
  • Prototyping mode

    docker run \
            --name demo \
            --detach
            -p8080:8080 \
            -ePROTOTYPING=true \
            apacheisis/demo-springboot
  • Attached console

    docker run \
            --name demo \
            -it \
            -p8080:8080 \
            apacheisis/demo-springboot:latest

    To run the container with your console attached, replace the '--detach' argument with '-it'. Use CTRL-C to stop and detach

Contributing

If you like to get involved quickly, please feel free to open new pull requests (at github) or just join the discussion and provide feedback.

If you are interested in contributing to Apache Isis, see the Contributors' Guide for details.

Credits