Davinci是一个DVAAS(Data Visualization as a Service)平台解决方案。
Davinci面向业务人员/数据工程师/数据分析师/数据科学家,致力于提供一站式数据可视化解决方案。既可作为公有云/私有云独立使用,也可作为可视化插件集成到三方系统。用户只需在可视化UI上简单配置即可服务多种数据可视化应用,并支持高级交互/行业分析/模式探索/社交智能等可视化功能。
上传davinci zip包到系统某个目录下,如. /app/davinci,将其解压。解压之后的目录结构如下图所示:

主要的配置项包括:mysqldb(请确保连接地址的正确性,初始化数据库时也会用到!!!)、httpServer。
注:如需接入ldap或者cache,可继续加入ldap、cache的相关配置。
```unzip davinci-assembly_2.11-0.1.0-SNAPSHOT-dist.zip
cd conf
mv application.conf.example application.conf
vim application.conf
```
mysqldb {
profile = "slick.jdbc.MySQLProfile$"
db {
url = "jdbc:mysql://localhost:3306/db?useSSL=false"
user = ""
password = ""
profile = com.mysql.jdbc.Driver
keepAliveConnection = true
numThreads = 5
}
}
httpServer {
host = "localhost"
port = 8080
}
ldap {
isEnable = false
url = ""
dc = ""
user = ""
pwd = ""
read.timeout = "5000"
connect {
timeout = "5000"
pool = true
}
}
cache {
isEnable = true
url: "127.0.0.1:6379"
auth:""
expire:300
mode:"stand-alone"
}
mail{
# 邮件服务器的SMTP地址
host = smtp.163.com
# 邮件服务器的SMTP端口
port = 25
# 发件人(必须正确,否则发送失败)
from = "email address"
# 用户名
user = ****
# 密码(注意,某些邮箱需要为SMTP服务单独设置密码,详情查看相关帮助)
pass = ****
#使用 STARTTLS安全连接
startttlsEnable = true
# 指定实现javax.net.SocketFactory接口的类的名称,这个类将被用于创建SMTP的套接字
socketFactoryClass = javax.net.ssl.SSLSocketFactory
# 如果设置为true,未能创建一个套接字使用指定的套接字工厂类将导致使用java.net.Socket创建的套接字类, 默认值为true
socketFactoryFallback = true
# 指定的端口连接到在使用指定的套接字工厂。如果没有设置,将使用默认端口465
socketFactoryPort = 465
}
phantomjs_home = "/$your_path$s/phantomjs-2.1.1-macosx/bin/phantomjs"
```
* **配置log的存放位置(可配置为绝对路径)**
`vi conf/log4j.properties`
* **配置DAVINCI_HOME**
vi /etc/profile
export DAVINCI_HOME=/app/davinci
source /etc/profile
* **初始化数据库, 修改port、ip、user 及 password,与application.conf里mysqldb的配置一致即可(只在首次启动时需要进行初始化)**
cd /app/davinci/bin
vi initdb.sh
sh initdb.sh
```
sh bin/start-server.sh




Please refer to Davinci用户手册, or download PDF.
Please download the latest RELEASE.
The fastest way to get response from our developers is to send email to our mail list edp_support@groups.163.com, and you are also welcome to join our WeChat group for online discussion.

Please refer to LICENSE file.
$ claude mcp add davinci \
-- python -m otcore.mcp_server <graph>