This document describes steps needed to run the Dynamic Reports demo in your local environments. Steps include:
- Install Konveyor
- Tweak some of the components to get the latest changes
- Install the new LSP analyzer addon
- Set up a sample application for analysis
### Installation
#### Setting up minikube
Follow your usual minikube installation steps and make sure you enable Nginx Ingress and OLM plugins. I used the script published in Konveyor Operator repository [here](https://github.com/konveyor/operator/blob/main/hack/start-minikube.sh) to install minikube with required dependencies.
#### Setting up Konveyor
Konveyor Operator repository also has a script to install Konveyor available [here](https://github.com/konveyor/operator/blob/main/hack/install-tackle.sh). We will log in to our minikube instance and run this script to install Konveyor. Once installed, we will tweak some of the components to get the latest changes by running following commands:
```shell=
# this is to ensure operator doesnt override our changes
kubectl scale deployment tackle-operator --replicas=0
# update the image to use the new seeding work
kubectl set env deployment tackle-hub DB_SEED_PATH=/tmp/seed
kubectl patch deployment tackle-hub -p '{"spec": {"template": {"spec": {"containers": [{ "name": "tackle-hub", "image": "quay.io/slucidi/tackle2-hub:seeding" }] } } } }'
```
#### Installing LSP analyzer addon
Replace the old windup addon with the new LSP analyzer addon:
```shell=
kubectl delete addon windup
cat <<EOF | kubectl apply -f -
---
kind: Addon
apiVersion: tackle.konveyor.io/v1alpha1
metadata:
namespace: konveyor-tackle
name: analyzer
spec:
image: quay.io/pranavgaikwad/tackle2-addon-analyzer:latest
imagePullPolicy: Always
resources:
limits:
memory: 4Gi
EOF
```
*Please set memory limits appropriate for your minikube instance.*
### Setting up sample app
We will use Customer Tomcat Application available [here](https://github.com/konveyor/example-applications/tree/main/example-1) for analysis:
