Skip to content

Commit

Permalink
Update CONTRIBUTING.md
Browse files Browse the repository at this point in the history
  • Loading branch information
hainm authored Jun 14, 2023
1 parent 0e5d1d4 commit 78fa0de
Showing 1 changed file with 0 additions and 37 deletions.
37 changes: 0 additions & 37 deletions CONTRIBUTING.md
Original file line number Diff line number Diff line change
Expand Up @@ -103,43 +103,6 @@ npm install
- Refresh browser (F5)
```

## Jupyterlab Development

Installation:

```bash
# Install deps
conda create -n ngl python>=3.5
conda activate ngl
conda env update -f environment.yml

# Install nglview Python package
python -m pip install --no-deps -e .

# Install ipywidgets JLab extension
jupyter labextension install @jupyter-widgets/jupyterlab-manager
```

For a development install (requires npm version 4 or later), do the following in the repository directory:

```bash
cd js/
jlpm
jlpm build
jupyter labextension link .
```

You can watch the source directory and run JupyterLab in watch mode to watch for changes in the extension's source and automatically rebuild the extension and application.

```bash
# Watch the source directory in another terminal tab
jlpm watch

# Run jupyterlab in watch mode in one terminal tab
cd ../
jupyter lab --watch --no-browser
```

## Using `NGL` locally

1. Change
Expand Down

0 comments on commit 78fa0de

Please sign in to comment.