Administrator Guide for configuring Notebooks Hub
Adding Launchers and Examples
To populate Launcher and Examples tab, the Administator needs to make POST API calls to /templates
Below are examples of the JSON body for each type of template.
Launchers
{
"name": "JupyterLab",
"description": "JupyterLab Launcher",
"type": "quicklaunch",
"applicationType": "jupyterlab",
"modules": [
"python-data-science/0.1.8"
],
"hardware": "cpuMedium",
"creator": "admin@org.com",
"public": false
}
{
"name": "RStudio",
"description": "RStudio Launcher",
"type": "quicklaunch",
"applicationType": "rstudio",
"modules": [
"R/0.1.1"
],
"hardware": "cpuMedium",
"creator": "admin@org.com",
"public": false
}
{
"name": "VSCode",
"type": "quicklaunch",
"description": "VSCode Launcher",
"applicationType": "vscode",
"modules": [
"python-data-science/0.1.8"
],
"hardware": "cpuMedium",
"creator": "admin@org.com",
"public": false
}
Examples
{{
"name": "Stable Diffusion",
"description": "Stable Diffusion is a deep learning, text-to-image model used to generate detailed images conditioned on text descriptions. This dashboard provides simple UI for Stable Diffusion",
"type": "featured",
"applicationType": "voila",
"modules": ["python-data-science/0.1.8"],
"hardware": "dedicatedGpuLarge",
"creator": "admin@org.com",
"public": false,
"filePath": "shared/notebooks/stable_diffusion/StableDiffusion.ipynb"
}