From b837df3e1298669a3b05cc9c9840e72a38653707 Mon Sep 17 00:00:00 2001 From: Wendy Gaultier Date: Mon, 11 Apr 2022 13:55:45 -0400 Subject: [PATCH] Update Readme (#118) * Update Readme --- README.md | 27 ++++++++++++++++++++++----- 1 file changed, 22 insertions(+), 5 deletions(-) diff --git a/README.md b/README.md index 97291b6f..226f0549 100644 --- a/README.md +++ b/README.md @@ -25,13 +25,30 @@ The front-end is configured to proxy requests to the local API server. It requires an environment variable (`KF_USER_ID`) to specify the current user – this is passed to the API server as an HTTP header. -1. Change directory to front-end folder: `cd frontend` -2. Install dependencies: `npm install` -3. Run the front-end `KF_USER_ID= npm start` -The front-end is now available at `http://localhost:4200/jupyter/`. Since it is +The following can be pasted in a script and executed. +**NOTE**: `user` is when using vagrant. Use the email adress if it is the dev cluser (please never connect to prod directly) +``` +cd frontend/common/kubeflow-common-lib +npm i +npm run build +cd dist/kubeflow +npm link + +cd ../../../../jupyter +npm i +npm link kubeflow +KF_USER_ID=user npm start +``` + +### Older instructions +1. ~Change directory to front-end folder: `cd frontend`~ +2. ~Install dependencies: `npm install`~ +3. ~Run the front-end `KF_USER_ID= npm start`~ + +~The front-end is now available at `http://localhost:4200/jupyter/`. Since it is disconnected from the `centraldashboard` component, you need to type your -desired namespace in the UI rather than selecting it from a dropdown. +desired namespace in the UI rather than selecting it from a dropdown.~ ### Connecting a Kubeflow Cluster