Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

update install instructions to use npm and to use install instead of … #57

Closed
Closed
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
27 changes: 18 additions & 9 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -46,20 +46,29 @@ conda create -n jupyterlab-sidecar -c conda-forge jupyterlab ipywidgets nodejs
conda activate jupyterlab-sidecar

# Install dependencies
jlpm
npm install

# Build Typescript source
jlpm build
npm run build

# Link your development version of the extension with JupyterLab
jupyter labextension link .

# Rebuild Typescript source after making changes
jlpm build

# Rebuild JupyterLab after making any changes
jupyter lab build
jupyter labextension install @jupyter-widgets/jupyterlab-manager --no-build
jupyter labextension install .

# Install the sidecar Python package
python -m pip install -e .
```

### To see your changes
Run jupyterlab in watch mode:

```bash
jupyter lab --watch
```

```
# Rebuild Typescript source after making changes
npm build
```

then refresh the browser page and your changes will be active.