From 94ed39bf29beef84eb0cb324c61a565d6a50b7b0 Mon Sep 17 00:00:00 2001 From: vermeul <swen@ethz.ch> Date: Thu, 14 Mar 2019 17:44:41 +0100 Subject: [PATCH] added how-to develop information --- README.md | 15 ++++++++++++++- 1 file changed, 14 insertions(+), 1 deletion(-) diff --git a/README.md b/README.md index e9bcc25..aae03bf 100644 --- a/README.md +++ b/README.md @@ -12,6 +12,19 @@ If you haven't done yet: download the latest jupyter-openbis-extension from pip. pip install --upgrade jupyter-openbis-extension ``` +or, if you would like to develop: + +``` +$ git clone git@sissource.ethz.ch:sispub/jupyter-openbis-extension.git +$ cd jupyter-openbis-extension +$ virtualenv venv +$ source venv/bin/activate +(venv) $ pip install -e . +(venv) $ jupyter serverextension enable --py jupyter-openbis-extension +(venv) $ jupyter nbextension install --py jupyter-openbis-extension --user --symlink +(venv) $ jupyter nbextension enable jupyter-openbis-extension --user --py +``` + **Register the Jupyter server extension** which will communicate both with openBIS and the notebook: ``` @@ -159,4 +172,4 @@ Known nbextensions: notebook section jupyter-openbis-extension/dialog enabled - Validating: OK -``` \ No newline at end of file +``` -- GitLab