Skip to content

Latest commit

 

History

History
51 lines (31 loc) · 1.29 KB

neo4jtestdata.md

File metadata and controls

51 lines (31 loc) · 1.29 KB

Neo4J-Testdatagenerator

Explanation in one sentence

With this Pythonskript you can produce partly random data and put it in the database in order to get a feeling how the data of sherlock gopher might look like.

Installation

  1. Requirements:

    • Docker
    • Python3
    • pip3
    • Python3 in the PATH
  2. Run the following command in order to create and run the Neo4j-Dockercontainer.

Incase you wanna change the username and password, just change the parameter NEO4J_AUTH= (yourusername)/(password). Also make sure you change the username/password in the skript.

sudo docker run --name neo4j3.5 -p7474:7474 -p7687:7687 -d -v $HOME/neo4j/data:/data -v $HOME/neo4j/logs:/logs -v $HOME/neo4j/import:/var/lib/neo4j/import -v $HOME/neo4j/plugins:/plugins --env NEO4J_AUTH=neo4j/test neo4j:3.5
  1. Access the Neo4J Webinterface at:

    127.0.0.1:7474

  2. Login with

    USER: neo4j, PASS: test

  3. Install all Python dependencies

    pip3 install -r ./requirements.txt

  4. Run the Skript

    ./testdata

  5. Your output should look like this

[+] Starting to fill in the Database
[+] Creating HTML-Rels
[+] Creating CSS-Rels
[+] Creating Image-Rels
[+] Creating Javascript-Rels
[+] Finished - Database has now nodes and relationships.
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy