-
-
Notifications
You must be signed in to change notification settings - Fork 52
/
dev.md.txt
49 lines (35 loc) · 757 Bytes
/
dev.md.txt
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
# Development
1. Get Task - A Go task runner
```bash
sudo sh -c "$(curl --location https://taskfile.dev/install.sh)" -- -d -b /usr/local/bin
```
2. Build docker image for dev
```bash
task dev:build
```
3. Obtain a shell
```bash
task dev:shell
# NOTE: If you have a running container already, use the following instead
task dev:shell-reuse
```
4. Live compilation of Lab Extension
Assume you have a shell in dev container, do
```bash
jlpm run build
jlpm run watch
```
5. Start JupyterLab
Do this in another terminal.
Assume you have a shell in dev container, do
````{tab} Watch mode
```bash
# NOTE: This might take a little while...
./dev/start-jupyterlab.sh --watch
```
````
````{tab} Non-watch mode
```bash
./dev/start-jupyterlab.sh
```
````