Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update Readme #118

Merged
merged 3 commits into from
Apr 11, 2022
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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