Skip to content

Commit

Permalink
Update Readme (#118)
Browse files Browse the repository at this point in the history
* Update Readme
  • Loading branch information
wg102 authored Apr 11, 2022
1 parent bdf857c commit b837df3
Showing 1 changed file with 22 additions and 5 deletions.
27 changes: 22 additions & 5 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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=<cloud_email> 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=<cloud_email> 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

Expand Down

0 comments on commit b837df3

Please sign in to comment.