This repository was archived by the owner on May 15, 2025. It is now read-only.
File tree 2 files changed +5
-4
lines changed
2 files changed +5
-4
lines changed Original file line number Diff line number Diff line change @@ -17,7 +17,7 @@ A module that adds JupyterLab in your Coder template.
17
17
module "jupyterlab" {
18
18
count = data.coder_workspace.me.start_count
19
19
source = "registry.coder.com/modules/jupyterlab/coder"
20
- version = "1.0.30 "
20
+ version = "1.0.31 "
21
21
agent_id = coder_agent.example.id
22
22
}
23
23
```
Original file line number Diff line number Diff line change @@ -34,21 +34,22 @@ if ! command -v jupyter-lab > /dev/null 2>&1; then
34
34
uv)
35
35
uv pip install -q jupyterlab \
36
36
&& printf " %s\n" " 🥳 jupyterlab has been installed"
37
- JUPYTERPATH =" $HOME /.venv/bin/"
37
+ JUPYTER =" $HOME /.venv/bin/jupyter-lab "
38
38
;;
39
39
pipx)
40
40
pipx install jupyterlab \
41
41
&& printf " %s\n" " 🥳 jupyterlab has been installed"
42
- JUPYTERPATH =" $HOME /.local/bin"
42
+ JUPYTER =" $HOME /.local/bin/jupyter-lab "
43
43
;;
44
44
esac
45
45
else
46
46
printf " %s\n\n" " 🥳 jupyterlab is already installed"
47
+ JUPYTER=$( command -v jupyter-lab)
47
48
fi
48
49
49
50
printf " 👷 Starting jupyterlab in background..."
50
51
printf " check logs at ${LOG_PATH} "
51
- $JUPYTERPATH /jupyter-lab --no-browser \
52
+ $JUPYTER --no-browser \
52
53
" $BASE_URL_FLAG " \
53
54
--ServerApp.ip=' *' \
54
55
--ServerApp.port=" ${PORT} " \
You can’t perform that action at this time.
0 commit comments