This guide explains only how to:
- Run the Neo4j database
- Inject data into Neo4j
- Launch the Streamlit app
Navigate to the KnowledgeGraph/neo4j directory and run:
cd KnowledgeGraph/neo4j
docker compose up -d- This will start Neo4j using the
docker-compose.ymlprovided. - Neo4j Browser will be available at http://localhost:7474
(Login with usernameneo4j, passwordtestpassword).
Make sure Docker is installed before running this.
Once Neo4j is running, from the knowledge-graph/neo4j directory:
python load_data.py- This script will connect to
bolt://localhost:7687. - It loads all necessary nodes and relationships into the database.
Important: Ensure load_data.py uses the correct credentials (neo4j / testpassword by default).
From the project root directory:
cd Website
streamlit run Home.py- The app will open in your browser (usually at http://localhost:8501).
- Explore the knowledge graph via the web interface.
Reminder: Neo4j must be running before launching the Streamlit app.