Skip to content
This repository has been archived by the owner on Nov 13, 2020. It is now read-only.

Changing extension to use React #6

Open
wants to merge 5 commits into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
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
16 changes: 15 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -17,12 +17,26 @@ Docker:
When JupyterLab has started up inside Docker, you will be able to connect to it on localhost:8007.
Hit Ctrl-C to kill it.

Once it's running, you can use the install command to rebuild and install the extension:
Once it's running, you can use the install command to fully rebuild and install the extension:

```
./project.rb install
```

However, JupyterLab runs in "watch mode". This means that if you change a CSS file, reloading the
page in your browser will normally pick up that change automatically. If you change a TypeScript
file, running:

```
./project.rb build
```

will cause the change to be built, with output written to the lib dir, and picked up the next time
you reload the page in your browser.

Since these steps are much faster than running "install", you'll normally want to do them instead
once your server is running to iterate more quickly.

## Other commands

To generate client libraries for talking to the workbench API based on a tagged client_api.yaml
Expand Down
2 changes: 1 addition & 1 deletion docker-compose.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,6 @@ services:
volumes:
- .:/w:cached
- ~/.config:/.config:cached
command: jupyter lab --port=8007 --ip=0.0.0.0 --no-browser --notebook-dir=/w/jupyterlab --NotebookApp.token=''
command: jupyter lab --port=8007 --ip=0.0.0.0 --no-browser --notebook-dir=/w/jupyterlab --NotebookApp.token='' --watch
ports:
- 8007:8007
Loading