You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
30 lines
938 B
30 lines
938 B
3 years ago
|
##### 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.
|