Skip to content

Latest commit

 

History

History
55 lines (36 loc) · 990 Bytes

File metadata and controls

55 lines (36 loc) · 990 Bytes

Docker Setup for sf-graph

This document explains how to run Neo4j using Docker for the sf-graph application.

Prerequisites

  • Docker and Docker Compose installed on your system

Quick Start

# Start Neo4j
docker compose up -d

# In another terminal, run the app locally
npm run dev

Configuration

Configure the application using CLI commands:

# Configure Neo4j connection
sf graph config set neo4jUri bolt://localhost:7687
sf graph config set neo4jPassword your_neo4j_password

# Set default Salesforce org
sf graph config set defaultOrg my-org

Before syncing, authenticate with Salesforce CLI:

sf org login web --alias my-org

Accessing Services

Stopping Neo4j

docker compose down

To remove all data volumes as well:

docker compose down -v