@@ -15,10 +15,10 @@ If you haven't done yet: download the latest jupyter-openbis-extension from pip.
...
@@ -15,10 +15,10 @@ If you haven't done yet: download the latest jupyter-openbis-extension from pip.
pip install --upgrade jupyter-openbis-extension
pip install --upgrade jupyter-openbis-extension
```
```
## Create a configuration file
This step is not really necessary, as you can define openBIS connections within the Jupyter notebook. However, if you need to connect to the same openBIS connections many times, this will become convenient.
Create a file `openbis-connections.yaml`. It should contain connection information to your server(s), for example:
**Create a configuration file**: `~/.jupyter/openbis-connections.yaml` It should contain connection information to your server(s), for example:
```
```
connections:
connections:
...
@@ -34,7 +34,7 @@ connections:
...
@@ -34,7 +34,7 @@ connections:
```
```
**Note 1**: You do not need neither username nor password. With the current version, you are able to enter username and password directly from within a Jupyter notebook.
**Note 1**: You do not need neither username nor password. With the current version, you are able to enter username and password directly from within a Jupyter notebook.
**Note 2**: You can place this file in any of these directories (on Mac OS X):
**Note 2**: Place this file in any of these directories (on Mac OS X):
@@ -52,29 +52,27 @@ The `config` section from the output lists the directories where your `openbis-c
...
@@ -52,29 +52,27 @@ The `config` section from the output lists the directories where your `openbis-c
## Launching Jupyter notebook
## Launching Jupyter notebook
Now you are **ready to launch jupyter notebook!**
Now you are ready to launch Jupyter notebook:
```
```
$ jupyter notebook
$ jupyter notebook --no-browser
```
```
Observe the terminal. It should tell you which server(s) have been successfully connected (and which not):
Observe the terminal. It should tell you which server(s) have been registered. If you provided a password, it will try to connect:
```
```
$ jupyter notebook
$ jupyter notebook
Registered: https://localhost:8443
Registered: https://localhost:8443
Cannot establish connection to: https://localhost:8443
Successfully connected to: https://localhost:8443
Registered: https://openbis.example.com
Registered: https://openbis.example.com
Successfully connected to: https://openbis.example.com
```
```
**Congratulations!** You can retry non-successful connections later, directly from the GUI.
**Congratulations!** You can retry non-successful connections later, directly from the GUI. Copy the the URL given in the output and paste it in your browser. You might also just start Jupyter without the `--no-browser` option.