- JDK 8+
- Download and unpack latest knotx-example-project-stack
- Alternatively, clone the repository and build the example project
mvn clean install
, unpack the zip file fromknotx-example-project/acme-stack/target
to any folder - Go to the
acme-stack
folder in the unpacked zip file and run the Knot.x
$> cd acme-stack
$> bin/knotx run-knotx
Build image from dockerfile being in the knotx-example-project
folder
$> docker build -t acme/knotx-example .
Run Knot.x container in background
$> docker run -d -p8092:8092 acme/knotx-example knotx-example
Follow logs
$> docker logs -f knotx-example
Open the browser for http://localhost:8092/content/local/simple.html
URL to see the example is running.
Clone this repository and go to acme-cluster
folder and run the Knot.x cluster
$> docker-compose up