Commit 251c725b authored by danushka9999's avatar danushka9999

Merge branch 'master' of http://gitlab.sliit.lk/2023-113/2023-113

parents 4c39f50b 66012022
# Component Diagram
# README #
### What is this repository for? ###
This represents the Kie Server and Drools workbench setup for build the backend for crop rotaiton planner. The front end is inside the soli analysis component. Its a react native app and please run htat first before execute these. So we are going to setup basically the rules engine, though it can have more capabilities than rules.
Once we start this we can run the rules we create in the drools-workbench. We can start it embedded also in our application
but we lose the ability to develop rules faster. Once we create a rule in workbench we can deploy it on the KIE server and our
application will interact with it.
### How do I get set up? ###
Just build the docker image or pull the image and run.
```
docker pull jboss/drools-workbench-showcase
```
```
docker pull jboss/kie-server-showcase
```
Start by running
```
docker run -p 8080:8080 -p 8001:8001 -d --name drools-workbench jboss/drools-workbench-showcase:latest
```
```
docker run -p 8180:8080 -d --name kie-server --link drools-workbench:kie-wb quay.io/kiegroup/kie-server-showcase:latest
```
### NOTE: Consider ' drools-workbench' as the name of your busines-central-showcase workbench running container.
### drools-workbench is the drools workbench container name. By linking them workbench can see all kie instances.
Go to
```
http://localhost:8080/business-central
```
```
http://localhost:8180/kie-server
```
and login using one of the users available.
![Image](./readmeImages/image1.png)
![Image](./readmeImages/image.png)
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment