Skip to content

Commit b837df3

Browse files
authored
Update Readme (#118)
* Update Readme
1 parent bdf857c commit b837df3

File tree

1 file changed

+22
-5
lines changed

1 file changed

+22
-5
lines changed

README.md

Lines changed: 22 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -25,13 +25,30 @@ The front-end is configured to proxy requests to the local API server. It
2525
requires an environment variable (`KF_USER_ID`) to specify the current user –
2626
this is passed to the API server as an HTTP header.
2727

28-
1. Change directory to front-end folder: `cd frontend`
29-
2. Install dependencies: `npm install`
30-
3. Run the front-end `KF_USER_ID=<cloud_email> npm start`
3128

32-
The front-end is now available at `http://localhost:4200/jupyter/`. Since it is
29+
The following can be pasted in a script and executed.
30+
**NOTE**: `user` is when using vagrant. Use the email adress if it is the dev cluser (please never connect to prod directly)
31+
```
32+
cd frontend/common/kubeflow-common-lib
33+
npm i
34+
npm run build
35+
cd dist/kubeflow
36+
npm link
37+
38+
cd ../../../../jupyter
39+
npm i
40+
npm link kubeflow
41+
KF_USER_ID=user npm start
42+
```
43+
44+
### Older instructions
45+
1. ~Change directory to front-end folder: `cd frontend`~
46+
2. ~Install dependencies: `npm install`~
47+
3. ~Run the front-end `KF_USER_ID=<cloud_email> npm start`~
48+
49+
~The front-end is now available at `http://localhost:4200/jupyter/`. Since it is
3350
disconnected from the `centraldashboard` component, you need to type your
34-
desired namespace in the UI rather than selecting it from a dropdown.
51+
desired namespace in the UI rather than selecting it from a dropdown.~
3552

3653
### Connecting a Kubeflow Cluster
3754

0 commit comments

Comments
 (0)