This repository was archived by the owner on May 15, 2025. It is now read-only.
File tree Expand file tree Collapse file tree 2 files changed +5
-4
lines changed Expand file tree Collapse file tree 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.
1717module "jupyterlab" {
1818 count = data.coder_workspace.me.start_count
1919 source = "registry.coder.com/modules/jupyterlab/coder"
20- version = "1.0.30 "
20+ version = "1.0.31 "
2121 agent_id = coder_agent.example.id
2222}
2323```
Original file line number Diff line number Diff line change @@ -34,21 +34,22 @@ if ! command -v jupyter-lab > /dev/null 2>&1; then
3434 uv)
3535 uv pip install -q jupyterlab \
3636 && printf " %s\n" " 🥳 jupyterlab has been installed"
37- JUPYTERPATH =" $HOME /.venv/bin/"
37+ JUPYTER =" $HOME /.venv/bin/jupyter-lab "
3838 ;;
3939 pipx)
4040 pipx install jupyterlab \
4141 && printf " %s\n" " 🥳 jupyterlab has been installed"
42- JUPYTERPATH =" $HOME /.local/bin"
42+ JUPYTER =" $HOME /.local/bin/jupyter-lab "
4343 ;;
4444 esac
4545else
4646 printf " %s\n\n" " 🥳 jupyterlab is already installed"
47+ JUPYTER=$( command -v jupyter-lab)
4748fi
4849
4950printf " 👷 Starting jupyterlab in background..."
5051printf " check logs at ${LOG_PATH} "
51- $JUPYTERPATH /jupyter-lab --no-browser \
52+ $JUPYTER --no-browser \
5253 " $BASE_URL_FLAG " \
5354 --ServerApp.ip=' *' \
5455 --ServerApp.port=" ${PORT} " \
You can’t perform that action at this time.
0 commit comments