moved to archive
an all-in-1 package of the WebSocket MicroService Demo
To simplify the demo of the WebSocket-Micro-Server (WSockClientMicroSV)
the whole package is now bundled into a single Docker Image
Structure of the repo and installation are now adjusted to OEX standards
Make sure you have git and Docker desktop installed.
Clone/git pull the repo into any local directory
git clone https://github.com/rcemper/IRIS-NativeAPI-Nodejs-compact.git
Open the terminal in this directory build and run the container:
docker-compose up -d
From the same terminal start the IRIS based client and prepare your orders
docker-compose exec iris iris session iris %ZSocket
on WebTerminal it is simply
USER>do ^%ZSocket
Open a new terminal on the download directory and start the node based service
docker-compose exec iris node /opt/irisbuild/WsockIris.js
or open a new WebTerminal to start the client
USER>write $ZF(-1,"cd /opt/irisbuild && node WsockIris.js")
The sequence of these commands is important !
Now it connects to IRIS and executes its orders