Skip to content
Snippets Groups Projects
Commit 0f068707 authored by Viktor Vorobev's avatar Viktor Vorobev
Browse files

[NRRPLT-8863] Change production URL to https

parent 369565ab
No related branches found
No related tags found
No related merge requests found
......@@ -69,11 +69,11 @@ The first thing we need to do is to import the Virtual Coach and create a Virtua
from pynrp.virtual_coach import VirtualCoach
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 *http://148.187.149.212* 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 *https://nrp-legacy.neurorobotics.ebrains.eu* by executing this command:
.. code-block:: python
vc = VirtualCoach('http://148.187.149.212', oidc_username='<your-hbp-username>', oidc_password='<your-hbp-password>')
vc = VirtualCoach('https://nrp-legacy.neurorobotics.ebrains.eu', 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.
......
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