Run Locally
This guide walks you through setting up GitRipper on your local machine for development and testing.
Prerequisites
Section titled “Prerequisites”Ensure the following dependencies are installed and running before starting the application.
1. Temporal Server
Section titled “1. Temporal Server”Temporal is used as the workflow orchestrator for bulk synchronisation and reliability guarantees.
Setup
-
Install Temporal CLI: https://learn.temporal.io/getting_started/typescript/dev_environment/?os=linux#set-up-a-local-temporal-service-for-development-with-temporal-cli
-
Start the local Temporal service:
Terminal window temporal server start-dev
Configuration
temporal: target: localhost:72332. PostgreSQL Database
Section titled “2. PostgreSQL Database”PostgreSQL is used as the primary persistence layer.
Setup
-
Install PostgreSQL: https://www.postgresql.org/download/
-
Create the database:
CREATE DATABASE gitripper_dev_db;
Configuration
database: url: jdbc:postgresql://localhost:5432/gitripper_dev_db?rewriteBatchedStatements=true username: cloud password: scape3. Kafka
Section titled “3. Kafka”Kafka is used for ingesting GitHub webhook events.
Setup
- Install and start Kafka: https://kafka.apache.org/quickstart/
- Ensure the broker is running on
localhost:9092.
Configuration
kafka: bootstrap-servers: localhost:9092Common Issues
Section titled “Common Issues”| Issue | Resolution |
|---|---|
| Temporal connection fails | Verify temporal.target and that temporal server start-dev is running |
| Kafka not reachable | Check kafka.bootstrap-servers and that the broker is running |
| Database connection refused | Verify Postgres is running and credentials match application.yml |