Skip to content

Commit

Permalink
📝 edit contributors install
Browse files Browse the repository at this point in the history
  • Loading branch information
ManonMarchand authored Dec 18, 2023
1 parent 90914ed commit 6fb8c95
Showing 1 changed file with 15 additions and 18 deletions.
33 changes: 15 additions & 18 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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.

0 comments on commit 6fb8c95

Please sign in to comment.