Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
openbis
openbis-public
jupyter
jupyter-openbis-gui-server
Commits
7b439738
Commit
7b439738
authored
Mar 26, 2021
by
vermeul
Browse files
updated documentation for CLI
parent
e72246de
Changes
1
Hide whitespace changes
Inline
Side-by-side
README.md
View file @
7b439738
...
...
@@ -9,13 +9,51 @@ This extension has been successfully tested with Safari 12.0.3, Chrome 72.0 and
The server extension will be automatically installed when you install the Jupyter Notebook Extension (the «classic» Jupyter Notebook):
```
pip install --upgrade jupyter-openbis-extension
$
pip install --upgrade jupyter-openbis-extension
```
If you need to install or upgrade the server extension alone, you can do so by:
```
pip install --upgrade jupyter-openbis-server
$ pip install --upgrade jupyter-openbis-server
```
Make sure your extension is recognised by Jupyter and enabled (your output may vary, but ensure you see the line:
`jupyter-openbis-server.main OK`
)
```
$ jupyter serverextension list
config dir: /Users/your_username/.pyenv/versions/3.6.9/etc/jupyter
jupyter-openbis-server.main enabled
- Validating...
jupyter-openbis-server.main OK
```
## Create a connection configuration file
When the module is installed, you can create a connection configuration file.
```
bash
$
jupyter-openbis-conn
--help
Usage: jupyter-openbis
[
OPTIONS]
Generate an openBIS connection file
for
use
in
Jupyter notebooks.
Options:
-n
,
--name
TEXT
-h
,
--hostname
TEXT
--verfiy
/
--no-verify
--https
/
--no-https
-u
,
--username
TEXT
-p
,
--password
TEXT
-d
,
--destination
[
/Users/your_username/.jupyter|/Users/your_username/.pyenv/versions/3.6.9/etc/jupyter|/usr/local/etc/jupyter|/etc/your_username]
[
default: /Users/your_username/.jupyter]
--help
Show this message and exit.
```
You can start the utility as-is to get prompted for every parameter. Username and password are optional.
````
$ jupyter-openbis-conn
```
## install Jupyter extension manually
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment