notebooks/components/crud-web-apps/volumes
Kimonas Sotirchos 8db0c6120d Manifests for the Volumes web app (kubeflow/kubeflow#5728)
Signed-off-by: Kimonas Sotirchos <kimwnasptd@arrikto.com>
2021-03-19 16:22:17 -07:00
..
backend Volumes Management UI (kubeflow/kubeflow#5684) 2021-03-18 01:07:16 -07:00
frontend Volumes Management UI (kubeflow/kubeflow#5684) 2021-03-18 01:07:16 -07:00
manifests Manifests for the Volumes web app (kubeflow/kubeflow#5728) 2021-03-19 16:22:17 -07:00
.gitignore Volumes Management UI (kubeflow/kubeflow#5684) 2021-03-18 01:07:16 -07:00
Dockerfile Volumes Management UI (kubeflow/kubeflow#5684) 2021-03-18 01:07:16 -07:00
Dockerfile.dockerignore Volumes Management UI (kubeflow/kubeflow#5684) 2021-03-18 01:07:16 -07:00
Makefile Volumes Management UI (kubeflow/kubeflow#5684) 2021-03-18 01:07:16 -07:00
README.md Volumes Management UI (kubeflow/kubeflow#5684) 2021-03-18 01:07:16 -07:00

README.md

Volumes web app

This web app is responsible for allowing the user to manipulate PVCs in their Kubeflow cluster. To achieve this it provides a user friendly way to handle the lifecycle of PVC objects.

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 ../../../volumes/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/volumes/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