From d33748393ff806b5b8a182079f378b55a46b54cf Mon Sep 17 00:00:00 2001
From: Gaetan Lepage <gaetan.lepage@inria.fr>
Date: Tue, 16 Aug 2022 15:19:49 +0200
Subject: [PATCH] adapt to robotlearn host

---
 public/main.js | 2 +-
 start.sh       | 4 ++--
 2 files changed, 3 insertions(+), 3 deletions(-)

diff --git a/public/main.js b/public/main.js
index 0200802..6139128 100644
--- a/public/main.js
+++ b/public/main.js
@@ -10,7 +10,7 @@ var cluster = new Cluster();
 cluster.show();
 
 // console.log("Connecting to socket")
-var socket = io('https://rlhm.glepage.com');
+var socket = io('https://ws.robotlearn.inrialpes.fr');
 // console.log("Succesfully connected to socket server.")
 
 function update_timestamp() {
diff --git a/start.sh b/start.sh
index 4d455d8..6993591 100755
--- a/start.sh
+++ b/start.sh
@@ -1,5 +1,5 @@
 #!/bin/sh
 
-export PYTHONPATH=.
+export PYTHONPATH=/var/home/cluster-monitor/cluster-monitor/
 
-python3 cluster_monitor/main.py
+/usr/local/bin/python3.9 $PYTHONPATH/start.sh
-- 
GitLab