Closed agrignard closed 2 years ago
After installing this version GAMA_1.8.2-RC2_Linux_with_JDK.deb
cd /opt/gama-platform/headless
./gama-headless.sh -socket 6868
The server is 'running'
cd UD-Viz-GCCV
npm i
npm run debug
http://localhost:8000/
message recieved should be written every second
message recieved
in console.log("message recieved"); is never called in src/bootstrap.js
src/bootstrap.js
let executor = setInterval(() => { if (queue.length > 0 && request === "") { request = queue.shift(); request.exp_id = exp_id; request.socket_id = socket_id; wSocket.send(JSON.stringify(request)); wSocket.onmessage = function (event) { console.log("message recieved"); let msg = event.data; if (event.data instanceof Blob) { } else { if (request.callback) { request.callback(msg); } else { request = ""; } } } } }, executor_speed);
Close my bad a path was written in hard
After installing this version GAMA_1.8.2-RC2_Linux_with_JDK.deb
Run GAMA in headless mode (SERVER)
cd /opt/gama-platform/headless
./gama-headless.sh -socket 6868
The server is 'running'
Run UD-Viz-GCCV (Client)
cd UD-Viz-GCCV
npm i
npm run debug
http://localhost:8000/
message recieved
should be written every secondin console.log("message recieved"); is never called in
src/bootstrap.js