By Craig Knott
This repository contains scripts to run on the server side to provide communication between Unity3D clients and the datastores.
The important files are: redis_republisher.py and node_serv.js
This script will connect to the MQTT server and republish all messages from the specified topics into a single topic to allow easy access by the node server. This script will also store a copy of all the data in the redis database. Run
run this in a screen to keep track of it.
- screen -S redis
- python2.7 redis_republisher.py
- control + a + d
This program starts a node.js server which listens for connections from unity game clients and handles all the data requests, live pushes and any other communication implemented / required by the client.
best to run this in a screen.
- screen -S sock
- node node_serv.js
- control + a + d