Mentions légales du service

Skip to content
Snippets Groups Projects
Commit b59b8bd1 authored by CREMONESI Francesco's avatar CREMONESI Francesco
Browse files

Simplify node run instructions

parent a5573cdb
No related branches found
No related tags found
No related merge requests found
...@@ -25,29 +25,22 @@ In today's tutorial, you will be launching one researcher and two node component ...@@ -25,29 +25,22 @@ In today's tutorial, you will be launching one researcher and two node component
### The Fed-BioMed node ### The Fed-BioMed node
Open a terminal in Jupyterhub and navigate to the fedbiomed folder We have prepare two nodes for you, called `site_1.ini` and `site_2.ini`.
To run them, open two terminals in Jupyterhub and navigate to the fedbiomed folder in both of them
```bash ```bash
cd $HOME/fedbiomed cd $HOME/fedbiomed
``` ```
Now, choose a name for your node. In this example, we will use the name `node-name`. Remember that whenever you execute a command for a node, you must specify `config node-name` to tell Fed-BioMed that you are referring to this node specifically. Then, in the first terminal execute
First, we initialize the node by creating a configuration:
```bash ```bash
./scripts/fedbiomed_run node config node-name configuration create ./scripts/fedbiomed_run node config site_1.ini start
``` ```
while in the other terminal you should execute
To add a dataset to the node, the tutorial will show you how to use the GUI. For command line, execute the following code and follow the instructions
```bash ```bash
./scripts/fedbiomed_run node config node-name add ./scripts/fedbiomed_run node config site_2.ini start
``` ```
Finally, you may run the node with Note that after this command, the terminal is fully dedicated to running the node, and you may not execute other commands on that terminal unless you stop the node's execution beforehand.
```bash
./scripts/fedbiomed_run node config node-name start
```
Note that after this command, this terminal is fully dedicated to running the node, and you may note execute other commands on it unless you stop the node's execution.
To stop the node, use the `Ctrl+C` combination. To stop the node, use the `Ctrl+C` combination.
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment