From f19ff2d887277cd7397fdf6b15d2c9e5dbde0908 Mon Sep 17 00:00:00 2001 From: Krish Moodbidri <krish94@uab.edu> Date: Wed, 30 Apr 2025 13:02:36 -0500 Subject: [PATCH] Add RabbitMQ installation and setup guide to README --- README.md | 42 +++++++++++++++++++++++++++++++++++++++--- 1 file changed, 39 insertions(+), 3 deletions(-) diff --git a/README.md b/README.md index 032a101..c3fbea9 100644 --- a/README.md +++ b/README.md @@ -49,12 +49,48 @@ This project automates user registration workflows at UAB using **RabbitMQ** to ### Prerequisites -- RabbitMQ server running with the `RegUsr` exchange. +- macOS -- SQLite database for UID/GID storage. +- Homebrew +- Python 3.x -### Configuration Steps +### Install and Setup RabbitMQ + +```bash +brew update +brew install rabbitmq +``` + +### Add RabbitMQ to Your PATH + +``` +echo 'export PATH="/usr/local/sbin:$PATH"' >> ~/.zshrc +source ~/.zshrc # Reload your shell to apply changes +``` + +### Start RabbitMQ +``` +brew services start rabbitmq +``` + +### Check RabbitMQ Status +``` +rabbitmqctl status +``` + +### ccess the Management UI + +- **URL**: [http://localhost:15672](http://localhost:15672/) + +- **Credentials**: + + - Username: `guest` + + - Password: `guest` + + +### WIP Configuration Steps 1. **Bind Queues to `RegUsr` Exchange**: Use these routing keys: -- GitLab