From 6c4dc8cc13f7c9086a840d0fac62890e09c12e9f Mon Sep 17 00:00:00 2001 From: cse44742 Date: Sun, 5 Dec 2021 18:01:25 +0000 Subject: [PATCH] Upload files to '' --- Hybrid.md | 29 +++++++++++++++++++++++++++++ 1 file changed, 29 insertions(+) create mode 100644 Hybrid.md diff --git a/Hybrid.md b/Hybrid.md new file mode 100644 index 0000000..a217bb8 --- /dev/null +++ b/Hybrid.md @@ -0,0 +1,29 @@ +##### For an Ubuntu OS: + +- For the Hybrid Service you need to install the newest Nodejs version (x16), JQ and pm2. + +##### Installation of Nodejs, jq and pm2 +``` +$ curl -sL https://deb.nodesource.com/setup_16.x | sudo bash - +$ sudo apt-get install -y nodejs +$ node -v +v16.13.1 +$ sudo apt install jq +$ sudo npm install -g pm2 +``` + +##### Installation of Hybrid +``` +$ git clone --recurse-submodules https://git.swarmlab.io:3000/zeus/swarmlab-hybrid.git +$ cd swarmlab-hybrid +$ ./install.sh <-- run it without root privileges +$ ./start //starts service + +//Open URL http://localhost:3088 in browser + +$ ./stop //stops service +``` + +- Afterwards, in the Swarmlab-Hybrid Service you have to start a labroom, a storage and a microservice. You can do it by the URL http://localhost:3088 in browser in your browser. It is necessary to start these three. + +- To connect the services you have just started you have to execute them on the Docker Service.