clone repo
git clone https://github.com/microsoft/farmvibes-ai.git
now we need to install everything that is needed
pip install ./src/vibe_core
in this you'll get error as following
1. Kubernetes error
how to solve it ?
go to file - src/vibe_core/vibe_core/terraform/local/modules/kubernetes/providers.tf , line 41 and change
kubernetes {
config_path = var.kubernetes_config_path
config_context = var.kubernetes_config_context
}
to
kubernetes = {
config_path = var.kubernetes_config_path
config_context = var.kubernetes_config_context
}
2. `set` error
go to `modules/kubernetes/redis.tf `
and replace set with
set = [
{
name = "commonConfiguration"
value = "appendonly no"
},
{
name = "master.containerPort"
value = "6379"
},
{
name = "image.tag"
value = var.redis_image_tag
},
{
name = "replica.replicaCount"
value = "0"
}
]
make same changes as `modules/kubernetes/rabbitmq.tf ` and `modules/kubernetes/dapr.tf`
and run with
farmvibes-ai local setup
and you can see that REST APIs are running at
`http://127.0.0.1:31108/v1/docs`
`