Skip to content
Snippets Groups Projects
Commit 11ecd1c0 authored by Eloy Retamino's avatar Eloy Retamino
Browse files

[NRRPLT-0000] Updated nrp server ip in VC tutorial
parent 8d4c23dd
No related branches found
No related tags found
No related merge requests found
...@@ -35,11 +35,11 @@ The first thing we need to do is to import the Virtual Coach and create a Virtua ...@@ -35,11 +35,11 @@ The first thing we need to do is to import the Virtual Coach and create a Virtua
from pynrp.virtual_coach import VirtualCoach from pynrp.virtual_coach import VirtualCoach
vc = VirtualCoach(environment='http://localhost:9000', storage_username='nrpuser', storage_password='password') vc = VirtualCoach(environment='http://localhost:9000', storage_username='nrpuser', storage_password='password')
Here we chose the local machine as the NRP server. The Virtual Coach can connect to NRP servers running in other locations by setting the *environment* parameter to the proper URL. For example, it is possible to connect to the NRP server running at *148.187.97.37* by executing this command: Here we chose the local machine as the NRP server. The Virtual Coach can connect to NRP servers running in other locations by setting the *environment* parameter to the proper URL. For example, it is possible to connect to the NRP server running at *http://148.187.149.212* by executing this command:
.. code-block:: python .. code-block:: python
vc = VirtualCoach('http://148.187.97.37', oidc_username='<your-hbp-username>', oidc_password='<your-hbp-password>') vc = VirtualCoach('http://148.187.149.212', oidc_username='<your-hbp-username>', oidc_password='<your-hbp-password>')
Notice that parameters *storage_username* and *storage_password* are replaced with *oidc_username* and *oidc_password*. The latter must be used when EBRAINS :term:`OIDC` authentication is required, the former are used otherwise. Notice that parameters *storage_username* and *storage_password* are replaced with *oidc_username* and *oidc_password*. The latter must be used when EBRAINS :term:`OIDC` authentication is required, the former are used otherwise.
...@@ -68,4 +68,4 @@ We can also make sure that the experiment has been launched by querying the Virt ...@@ -68,4 +68,4 @@ We can also make sure that the experiment has been launched by querying the Virt
---------------------------------- ----------------------------------
Read more about the **interaction with the experiment throught the Virtual Coach** in the :ref:`following tutorial <virtual-coach-tutorials-interact>`. Read more about the **interaction with the experiment throught the Virtual Coach** in the :ref:`following tutorial <virtual-coach-tutorials-interact>`.
\ No newline at end of file
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment