This guide provides instructions for installing and running the kindmesh application.
pip install kindmesh-
Clone the repository:
git clone https://github.com/patchmemory/kindmesh.git cd kindmesh -
Install the package:
pip install . -
For development installation:
pip install -e .
For a complete local development environment:
-
Clone the repository:
git clone https://github.com/patchmemory/kindmesh.git cd kindmesh -
Run the setup script:
./local_setup.sh
This script will:
- Check for system dependencies
- Create a virtual environment
- Install all required dependencies
- Install the kindmesh package in development mode
kindmesh requires a Neo4j database:
- Install Neo4j Community Edition from https://neo4j.com/download/
- Configure Neo4j to use the password 'kindmesh' (or update the environment variables)
- Install APOC libraries for Neo4j
- Run the initialization script in scripts/init-db.cypher
After installation, you can run the application using:
# Start Neo4j database (required)
# See README.md for Neo4j setup instructions
# Run the application
kindmeshOr run directly with Python:
python -m kindmesh.appIf you used the setup script, you can start the application with:
./local_start.shThe following environment variables can be set to configure the application:
NEO4J_URI: URI for the Neo4j database (default: bolt://neo4j:7687)NEO4J_USER: Username for the Neo4j database (default: neo4j)NEO4J_PASSWORD: Password for the Neo4j database (default: kindmesh)
If you encounter any issues:
- Ensure Neo4j is running and accessible
- Check that the Neo4j credentials are correct
- For development installations, try reinstalling with:
./local_setup.sh --clean
- Check the logs for specific error messages
For more detailed information, please refer to the README.md file.