Skip to content

Commit a2a3d65

Browse files
authored
Update CONTRIBUTING.md
1 parent 27b8e6d commit a2a3d65

File tree

1 file changed

+8
-1
lines changed

1 file changed

+8
-1
lines changed

CONTRIBUTING.md

Lines changed: 8 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -120,12 +120,19 @@ you can install all packages with:
120120
pip install -e '.[dev]'
121121
```
122122

123-
If you're testing local changes in Jupyter Lab or Jupyter Notebook, you'll want to run:
123+
If you're testing local changes in Jupyter Lab or Jupyter Notebook, you'll want to run these commands when you're setting up your development environment:
124124
```bash
125125
pip install jupyter
126126
jupyter labextension develop .
127127
```
128128

129+
If you're changing any of the code under the `js/` directory, you'll also want to run these commands:
130+
```
131+
cd js/
132+
npm ci
133+
npm run build
134+
```
135+
129136
These commands also create an *editable install* of plotly.py
130137
so that you can test your changes iteratively without having to rebuild the plotly.py package explicitly;
131138
for more information please see

0 commit comments

Comments
 (0)