Skip to content

soufiaane/CapValue

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

cvcTools

Travis CI [Circle CI] (https://circleci.com/gh/soufiaane/CapValue) Coverage Status Codacy Badge


Requirements

python version =3.5.1 x64

var io = require('socket.io')(3000); var redis = require('redis').createClient; var adapter = require('socket.io-redis'); var pub = redis(6379, 'localhost', { auth_pass: "cvc2016" }); var sub = redis(6379, 'localhost', { return_buffers: true, auth_pass: "cvc2016" });

io.adapter(adapter({ pubClient: pub, subClient: sub }));

io.sockets.on('connection', function(socket) { socket.on('message', function(data) { console.log(data); }); });

rabbitmqctl stop_app rabbitmqctl reset rabbitmqctl start_app

sudo rabbitmqctl add_user cvcadmin ****

sudo rabbitmqctl add_vhost cvcHost

sudo rabbitmqctl set_user_tags cvcadmin administrator

sudo rabbitmqctl set_permissions -p cvcHost cvcadmin "." "." ".*"

sudo rabbitmq-plugins enable rabbitmq_management