From 6fb8c9568c5a461034c6ada7b5eecfe108bf10b8 Mon Sep 17 00:00:00 2001 From: Manon Marchand Date: Mon, 18 Dec 2023 09:55:42 +0100 Subject: [PATCH] :memo: edit contributors install --- README.md | 33 +++++++++++++++------------------ 1 file changed, 15 insertions(+), 18 deletions(-) diff --git a/README.md b/README.md index 0dcbda97..00c44986 100644 --- a/README.md +++ b/README.md @@ -58,26 +58,23 @@ Additionny, for a jupyterlab < 4 usage you might need to First, make sure you have installed jupyter on your python environnement: `pip install jupyter`. For a development installation [Node.js](https://nodejs.org) and [Yarn version 1](https://classic.yarnpkg.com/) are also required, - git clone https://github.com/cds-astro/ipyaladin.git - cd ipyaladin - npm install yarn - cd js - npm install - cd .. - pip install -e . - -For Jupyter Notebook, do - - jupyter nbextension install --py --symlink --overwrite --sys-prefix ipyaladin - jupyter nbextension enable --py --sys-prefix ipyaladin - -For JupyterLab, you will need to run this command too: +```shell +> git clone https://github.com/cds-astro/ipyaladin.git +> cd ipyaladin +> npm install yarn +> cd js +> npm install +> cd .. +> pip install -e . +``` - jupyter labextension develop --overwrite ipyaladin +(note that the point is important in the last instruction) -Then you need to rebuild the JS when you make a code change: +Then you need to rebuild the javascript when you change the code: - cd js - yarn run build +```shell +> cd js +> yarn run build +``` You then need to refresh the JupyterLab page when your javascript changes.