Skip to content

Commit 725366c

Browse files
authored
Further develop install instructions
1 parent 71a5635 commit 725366c

File tree

1 file changed

+19
-0
lines changed

1 file changed

+19
-0
lines changed

README.md

Lines changed: 19 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -54,6 +54,25 @@ py.test
5454
npm test
5555
```
5656

57+
When developing your extensions, you need to manually enable your extensions with the
58+
notebook / lab frontend. For lab, this is done by the command:
59+
60+
```
61+
jupyter labextension install .
62+
```
63+
64+
For classic notebook, you can run:
65+
66+
```
67+
jupyter nbextension install --sys-prefix --symlink --py <your python package name>
68+
jupyter nbextension enable --sys-prefix --py <your python package name>
69+
```
70+
71+
Note that the `--symlink` flag doesn't work on Windows, so you will here have to run
72+
the `install` command every time that you rebuild your extension. For certain installations
73+
you might also need another flag instead of `--sys-prefix`, but we won't cover the meaning
74+
of those flags here.
75+
5776

5877
## Releasing your initial packages:
5978

0 commit comments

Comments
 (0)