cse44742
3 years ago
1 changed files with 29 additions and 0 deletions
@ -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. |
Loading…
Reference in new issue