notebooks/components/crud-web-apps/jupyter
DavidSpek 90a8e02fc1 (JWA): Add server type selector for jupterlab, vs-code and r-studio (kubeflow/kubeflow#5646)
* jwa(back): ability to setting annotations on NB resource

* jwa(back): update spanwer yaml, dump logo from yaml if file doesn't exist

* jwa(front): add annotations and VSCode/RStudio image types/config

* jwa(front): add server type toggle to UI

* jwa(front): set annotations in notebook request based on server-type

* jwa(front): add server type column to index page

* review: improve button toggle formatting

* jwa(back): set rstudio-tidyverse image in spawner_ui_config

* review: move rewrite and headers to backend

* review: add logo SVGs and set them in environment*.ts

* review: fix how allowing custom images works

* review: add server type logo to index
2021-03-22 05:09:18 -07:00
..
backend (JWA): Add server type selector for jupterlab, vs-code and r-studio (kubeflow/kubeflow#5646) 2021-03-22 05:09:18 -07:00
frontend (JWA): Add server type selector for jupterlab, vs-code and r-studio (kubeflow/kubeflow#5646) 2021-03-22 05:09:18 -07:00
manifests Add listing nodes to JWA ClusterRole for GPU vendor detection (kubeflow/kubeflow#5732) 2021-03-21 13:48:17 -07:00
.gitignore Refactor the JWA backend to utilize common code (kubeflow/kubeflow#5316) 2020-09-29 02:37:25 -07:00
Dockerfile Fix entrypoint of crud-jwa (kubeflow/kubeflow#5606) 2021-03-02 04:31:47 -08:00
Dockerfile.dockerignore Initialize the Jupyter web app frontend in crud-web-apps (kubeflow/kubeflow#5332) 2020-10-27 07:45:59 -07:00
Makefile Initialize the Jupyter web app frontend in crud-web-apps (kubeflow/kubeflow#5332) 2020-10-27 07:45:59 -07:00
README.md Initialize the Jupyter web app frontend in crud-web-apps (kubeflow/kubeflow#5332) 2020-10-27 07:45:59 -07:00

README.md

Jupyter web app

This web app is responsible for allowing the user to manipulate the Jupyter Notebooks in their Kubeflow cluster. To achieve this it provides a user friendly way to handle the lifecycle of Notebook CRs.

Development

Requirements:

  • node 12.0.0
  • python 3.7

Frontend

# build the common library
cd components/crud-web-apps/common/frontend/kubeflow-common-lib
npm i
npm run build
cd dist/kubeflow
npm link

# build the app frontend
cd ../../../jupyter/frontend
npm i
npm link kubeflow
npm run build:watch

Backend

# create a virtual env and install deps
# https://packaging.python.org/guides/installing-using-pip-and-virtual-environments/
cd component/crud-web-apps/jupyter/backend
python3.7 -m pip install --user virtualenv
python3.7 -m venv web-apps-dev
source web-apps-dev/bin/activate

# install the deps on the activated virtual env
make -C backend install-deps

# run the backend
make -C backend run-dev