Welcome to this repository! Follow the steps below to get started.
Firstly, clone or download this repository to your local machine using:
git clone https://github.com/Molandrious/RabbitMQ_ReportService.git
After you've downloaded the project, navigate to its root directory and create a resources
directory.
Inside this directory, place your data.json
file:
The RabbitMQ settings for the Docker container can be found in the Docker compose file. Modify them if necessary to match your environment or leave them as is if they suit your needs.
Navigate to the directory containing the docker-compose.yml
file and run:
docker-compose up
Please wait around 15 seconds after the Docker containers are up to ensure all services have initialized correctly.
Before running the client, ensure the environment settings inside client
match the Docker compose settings for RabbitMQ. Modify them if necessary.
Install requirements.txt on yur local machine.
pip install -r requirements.txt
You can change the requests data by using the provided example_requests.json
inside client_example dir. Once you're ready, execute:
python .\client_example\script_client.py