Join GitHub today
GitHub is home to over 20 million developers working together to host and review code, manage projects, and build software together.
Fetching latest commit…
Cannot retrieve the latest commit at this time.
|Failed to load latest commit information.|
Start: ruby dbconnector.rb <database-name> (without database name will listen for commands that dont require connect) MQ: Install RabbitMQ Configure according to what you want to use in dbconnector.yml e.g. $ rabbitmqctl add_vhost /db2 Creating vhost "/db2" ...done. $ rabbitmqctl add_user consumer1 some_password Creating user "consumer1" ...done. $ rabbitmqctl add_user consumer2 some_password Creating user "consumer2" ...done. $ rabbitmqctl add_user consumer3 some_password Creating user "consumer3" ...done. $ rabbitmqctl add_user server1 some_pass Creating user "server1" ...done. $ rabbitmqctl map_user_vhost consumer1 /db2 Mapping user "consumer1" to vhost "/db2" ...done. $ rabbitmqctl map_user_vhost consumer2 /db2 Mapping user "consumer2" to vhost "/db2" ...done. $ rabbitmqctl map_user_vhost consumer3 /db2 Mapping user "consumer3" to vhost "/db2" ...done.