Sha256: 01f7ae94676cc0e2a2d8e9b59537caddfe0e0503d083c522649eef3bacee2b5c

Contents?: true

Size: 605 Bytes

Versions: 3

Compression:

Stored size: 605 Bytes

Contents

#!/usr/bin/env bash
# examples/start_rabbitmq_and_registry.sh
#
# brew install rabbitmq-server
#
# Start up the AMQP message broker (RabbitM@) in the background

echo "Starting rabbitmq-server in background ..."
rabbitmq-server &
sleep 2
open http://localhost:15672/#/queues

echo
echo
echo "Starting example registry in forground ..."
echo "http://localhost:4567"
echo
ruby registry.rb  # blocks until control-C

# You may have to do control-c twice to stop both

echo "#"
echo "##"
echo "###"
echo "####"
echo "#####"
echo "registry is stopped"
echo "stopping the rabbitmq server ...."
rabbitmqctl stop

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
agent99-0.0.4 examples/start_rabbitmq_and_registry.sh
agent99-0.0.3 examples/start_rabbitmq_and_registry.sh
agent99-0.0.2 examples/start_rabbitmq_and_registry.sh