Installations
Install OpenDrive using pip
pip install OpenDrive
Install Docker Compose
Follow these steps to install Docker Compose on your system:
Linux
- Download Docker Compose:
curl -L "https://github.com/docker/compose/releases/download/$(curl -s https://api.github.com/repos/docker/compose/releases/latest | jq -r .tag_name)/docker-compose-$(uname -s)-$(uname -m)" -o /usr/local/bin/docker-compose
- Set permissions:
sudo chmod +x /usr/local/bin/docker-compose
- Verify:
docker-compose --version
Windows
- Install Docker Desktop from Docker’s website.
- Docker Compose is bundled with Docker Desktop. Verify with:
docker-compose --version
macOS
- Install Docker Desktop from Docker’s website.
- Docker Compose is included in Docker Desktop. Verify with:
docker-compose --version
Running Kafka Locally
First, make sure you have docker-compose installed. Then:
- Download this docker-compose file to a preferred location.
- From its directory, run:
docker-compose up -d
It sets up everything automatically, running it in the background!
You can connect your Kafka clients via localhost:9092
.
It has a helpful UI at http://localhost:9021
which allows you to easily inspect and manage topics.
When finished, run:
docker-compose down -d
from the download location to stop it.
Setting Up the Project Locally
Clone the Repository
Follow these steps to get a local copy of the project:
- Clone the repository:
git clone https://github.com/your_username/opendrive-framework.git
- Navigate to the project root:
cd OpenDrive
- Navigate to the project root:
pip install -r requirements.txt
Fork the Repository
Follow these steps to create your own copy of the project repository:
- Fork the repository on GitHub: https://github.com/OpenDriveDevelopment/OpenDrive
- Clone your fork:
git clone https://github.com/YOUR_USERNAME/OpenDrive.git
- Navigate to the project root:
cd OpenDrive
- Add the original repository as the upstream remote:
git remote add upstream https://github.com/OpenDriveDevelopment/OpenDrive.git
- Fetch updates from the original repository:
git fetch upstream
- Merge changes into your local copy:
git merge upstream/main