Chatbots are driving the industry. With Botium we are driving chatbots. Botium is a suite of open source software components that support chatbot makers in training and quality assurance.
Botium Box is running on standard components available for free. You can install it on your own server (on premise), or use cloud providers for serverless installation, or even a mixture of those approaches.
IF YOU LIKE WHAT YOU SEE, PLEASE CONSIDER GIVING US A STAR ON GITHUB!
Check them out in the Botium Wiki
You can run Botium Box on your Kubernetes environment, locally in Minikube, or on a cloud server as Amazon Elastic Kubernetes Service.
Persistent data storage is not part of the Kubernetes definitions in this repository. You can install MySQL in your Kubernetes environment as well. All major cloud providers support hosted MySQL installations, for example
- A working Kubernetes environment
- kubectl connected to your Kubernetes environment
- A MySQL-compatible database, installed locally or hosted in the cloud
- MySQL connectivity (check Firewalls etc)
- MySQL hostname
- MySQL username
- MySQL password
Download this Git repository to your local workstation.
In the file kubernetes/02-configmap.yml, enter your MySQL connection information:
- my-mysql-host-name
- my-mysql-user-name
- my-mysql-password
> kubectl apply -f ./kubernetes
Wait several minutes for the cluster to come up, then list the status of the services. The EXTERNAL_IP column in the line starting with box is the URL to point your browser to.
> kubectl get svc -n botium-box-ce
NAME TYPE CLUSTER-IP EXTERNAL-IP PORT(S) AGE
box LoadBalancer xxx.xxx.xxx.xxx some-ip-adress 80:32588/TCP 92m
prisma ClusterIP xxx.xxx.xxx.xxx <none> 4466/TCP 92m
redis ClusterIP xxx.xxx.xxx.xxx <none> 6379/TCP 92m
See the log output of Botium Box:
> kubectl logs -l name=box -n botium-box-ce
You can run Botium Box on your own server on-premise, or on a cloud server - for example, see here for instructions how to set up docker and docker-compose on an Amazon EC2 instance.
If you have a firewall, you have to make sure that it allows inbound connections to port 4000 (default Botium Box listen port), or any other port if you are not using the default port
The Docker-Compose file contains all prerequisites for running Botium Box and is the recommended and most easy way to run Botium Box.
-
Download docker-compose.yml
curl --output docker-compose.yml https://raw.githubusercontent.com/codeforequity-at/botium-box-basic-dist/master/docker-compose.yml
-
Start Botium Box by running docker-compose:
docker-compose up -d
-
Show log output from docker-compose (optional):
docker-compose up -d
-
Point your browser to http://127.0.0.1:4000 (or the IP address of your cloud server)
To make your Botium testsets, resources and working directory point to a folder of your choice, you have to edit the docker-compose.yml file!
If you already have installed Botium Box before and just want to update to the latest Botium Box build, run this:
> docker-compose stop
> docker-compose pull
> docker-compose up -d
> docker-compose logs -f
Default usernames:
- admin
- testmanager
- tester
- guest
Default password: "nooneknows"
Botium Box comes with some sample projects installed. You can find more samples to import into Botium Box here.
Have fun.
Can you help me install Kubernetes?
No.
Can you help me setup my Kubernetes cluster?
No.
Can you help me with my Kubernetes problems?
No.
Can you help me install Docker?
No.
Can you help me with my Docker problems?
No.
Can you help me setting up MySQL?
No.