#192 [Docs] Add instructions for listening to messages sent to broker
Merged 5 years ago by jflory7. Opened 5 years ago by shraddhaag.
fedora-commops/ shraddhaag/fedora-happiness-packets modify-setup-development-docs  into  master

@@ -47,6 +47,11 @@ 

  

  Integration tests are run via the following command: ``docker-compose exec web ./manage.py test -v 2 -p integration_test*.py --settings=happinesspackets.settings.tsting``

  

+ To test if messages are being sent to the RabbitMQ broker, open a new terminal and run the following command inside the shell of the Docker conatiner `web`::

+ 

+     fedora-messaging consume --callback=fedora_messaging.example:printer

+ 

+ The messages sent to the RabbitMQ broker, when a sender confirms sending a happiness packet, will be printed in this terminal.

  

  Alternatives to Docker

  ======================

References issue #96

Q - What is a summary of your change?
A - Add the documentation for integration of Fedora Messaging

Q - Why is this change helpful?
A - The instructions would allow us to test if messages are being sent to the broker successfully or not.

Note: The change passed the test-docs.sh successfully.

WIP: Write documentation for Setup on alternatives to docker and on windows.

Metadata Update from @jflory7:
- Pull-request tagged with: PASSED, needs testing, new change, type - docs, type - fedora-messaging, type - summer coding

5 years ago

rebased onto 88e2834

5 years ago

Metadata Update from @jflory7:
- Request assigned

5 years ago

@shraddhaag Thanks, this change is easy enough. Merging! :clapper:

Pull-Request has been merged by jflory7

5 years ago