A networked system that facilitates communication and control between a master server and multiple slave a.k.a client devices.
Step to develop code from your computer:
Clone the XenCon repository from GitHub using the following command:
git clone https://github.com/dionosv/XenCon.gitCopy env file setup on your project (modify the client name)
Open two different terminals to run the master and slave servers concurrently.
- Navigate to the master directory:
cd XenCon/master- Start server:
node master.js- Navigate to the slave directory:
cd XenCon/slave- Connect client to master server:
#windows
$env:TOKEN="server-token"
node client.js
#linux
export TOKEN=server-token
node client.jsNow you have both the master and slave servers up and running.