Subject knowledge map learning platform project: ultra-detailed teaching of technology stack Java, Neo4j, MySQL, etc.

insert image description here

Project design collection (artificial intelligence direction): Help newcomers quickly master skills in actual combat, complete project design upgrades independently, and improve their own hard power (not limited to NLP, knowledge graph, computer vision, etc.): Collect meaningful project design collections to help Newcomers quickly master skills in actual combat, helping users make better use of the CSDN platform, independently complete project design upgrades, and improve their own hard power.

insert image description here

  1. Column Subscription: Encyclopedia of Projects to Improve Your Hard Power

  2. [Detailed introduction of the column: project design collection (artificial intelligence direction): help newcomers quickly master skills in actual combat, complete project design upgrades independently, and improve their own hard power (not limited to NLP, knowledge graphs, computer vision, etc.)

Subject knowledge map learning platform project: ultra-detailed teaching of technology stack Java, Neo4j, MySQL, etc.

0. Effect display

1. Installation Tutorial

  1. Install Java SDK 11. Before downloading, you need to log in to the Oracle account, download the link , install the tutorial , and test whether you can call java in the command line tool

    java --version
    
    java 17.0.1 2021-10-19 LTS
    Java(TM) SE Runtime Environment (build 17.0.1+12-LTS-39)
    Java HotSpot(TM) 64-Bit Server VM (build 17.0.1+12-LTS-39, mixed mode, sharing)
    
  2. Open the Neo4j official website, download the community version server, do not choose the desktop version, download the link , and configure Neo4j according to the pop-up webpage. After the configuration is complete, you can call it in the command line tool

    neo4j -Verbose
    
    详细信息: Neo4j Server Type is 'Community'
    详细信息: Neo4j Version is '4.2.11'
    详细信息: Neo4j Database Mode is ''
    
  3. Install the Apache HTTP server, set up a local server, download address , installation tutorial , default startup service, and copy this project (Github will automatically add "-master" after the folder name after downloading, which needs to be deleted) into the configuration file Folder address pointed to by DocumentRoot

    Or install the http-server package, use Node to install, install the command "npm i http-server", and use the command "http-server [path] [options]" to activate the local server

  4. Install Node.js version management service nvm, Windows version link , installation and usage tutorial , after the configuration is complete, you can control multiple Node versions in the command line tool

    nvm list
    
       14.18.1
     * 12.22.7 (Currently using 64-bit executable)
       0.10.15
    
  5. Switch to Node V14/12 LTS version through nvm (this software needs to use await/async, at least version 12 or above), and check whether the switch is successful

    node --version
    
    v12.22.7
    
  6. Switch to the file directory where the project is located, and install the dependent modules of the project

    npm install --dependencies
    
    up to date in 0.732s
    
    8 packages are looking for funding
      run `npm fund` for details
    

2. Data import tutorial

  1. Create the cq_history database in the MySQL database, and use the cq_history.sql file in the sql folder to automatically import the table structure and data (using the MySQL command line tool or Navicat visualization tool)

  2. Modify the util.js file in the backend folder to check the connection password between Neo4j and MySQL database

  3. Modify the dataInit.js file in the backend folder, add content after line 110, save and run the file, please put the CSV file in the specified location or modify the path in advance, check the database and /data/json path to confirm whether the writing is successful

    ImportDataToNeo4j()
    

3. Run the tutorial

  1. Run the server program, enter the following code in the current directory, and ensure that there is no program occupying port 3000, and keep running persistently

    node .\backend\backupServer.js
    
  2. Enter the following address in the browser to open this project

    项目主页
    http://localhost/visual-kg-history/web/
    知识图谱页面
    http://localhost/visual-kg-history/web/kg/
    

    After the project is started for the first time, the server needs to display the public key before it can operate. Every time the server restarts, the front-end page should also be refreshed to clear the cache

For the project code source, see the top or end of the article

https://download.csdn.net/download/sinat_39620217/87990795

Guess you like

Origin blog.csdn.net/sinat_39620217/article/details/131719380