Skip to content

Commit

Permalink
remove labhub and its settings
Browse files Browse the repository at this point in the history
  • Loading branch information
athornton committed Aug 22, 2024
1 parent cb4f20e commit eddf790
Showing 1 changed file with 4 additions and 9 deletions.
13 changes: 4 additions & 9 deletions src/lsst/rsp/startup/services/labrunner.py
Original file line number Diff line number Diff line change
Expand Up @@ -726,26 +726,21 @@ def _set_timeout_variables(self) -> list[str]:
def _start(self) -> None:
log_level = "DEBUG" if self._debug else "INFO"
cmd = [
"python3",
"-s",
"-m",
"jupyter",
"labhub",
"jupyterhub-singleuser",
"--ip=0.0.0.0",
"--port=8888",
"--no-browser",
f"--notebook-dir={self._home!s}",
f"--hub-prefix={self._stash['jupyterhub_path']}",
f"--hub-host={self._stash['external_host']}",
f"--log-level={log_level}",
"--ContentsManager.allow_hidden=True",
f"--ContentsManager.root_dir={self._home}",
"--FileContentsManager.hide_globs=[]",
"--KernelSpecManager.ensure_native_kernel=False",
"--QtExporter.enabled=False",
"--PDFExporter.enabled=False",
"--WebPDFExporter.allow_chromium_download=True",
"--MappingKernelManager.default_kernel_name=lsst",
"--LabApp.check_for_updates_class=jupyterlab.NeverCheckForUpdate",
"--NotebookApp.base_url=nb",
"--NotebookApp.default_url=lab",
]
cmd.extend(self._set_timeout_variables())
self._logger.debug("Command to run:", command=cmd)
Expand Down

0 comments on commit eddf790

Please sign in to comment.