See micro-visualization platform research (2)

Previously, the micro-visualization platform was preliminarily built, but it was found that the knowledge map was missing in the module. This article sorts out the construction of the knowledge map.

1. Database initialization

create database graph_analysis character set utf8mb4;

The initialization script is in: graph-analysis/backend/graph-analysis-service/src/main/resources/sql/init.sql, and the database will be initialized when the project starts.

2. Deploy the Cassandra database

A Cassandra database also needs to be deployed here to store graph information.

Download address https://cassandra.apache.org/_/download.html
Since the latest version of Cassandra on my side failed to start on Windows, I use version 3.11 here. The download address is: https://dlcdn.apache.org/cassandra/3.11.14/

insert image description here
After downloading and decompressing, enter the bin directory and execute cassandra.bat under cmd to start Cassandra.

3. Run GraphAnalysis

graph-analysis/backend/graph-analysis-web/src/main/java/org/zjvis/graph/analysis/web/GraphAnalysisApplication.java
The dependent minio refers to the previous article, and the dataScience that is dependent on the operation is also the DataScienceWebMain in the previous article.

restful:
    dataScienceServer:
        address: http://127.0.0.1:8083

Guess you like

Origin blog.csdn.net/weixin_29003023/article/details/129047373