forked from opendatahub-io/odh-dashboard
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add/update documentation on the dashboard flows
- Loading branch information
1 parent
640ec80
commit fc7193c
Showing
35 changed files
with
2,370 additions
and
328 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,107 +1,17 @@ | ||
# Open Data Hub Dashboard | ||
|
||
A dashboard for Open Data Hub components. | ||
|
||
- Shows what's installed | ||
- Show's what's available for installation | ||
- Links to component UIs | ||
- Links to component documentation | ||
|
||
## Requirements | ||
|
||
ODH requires the following to run: | ||
|
||
- [NodeJS and NPM](https://nodejs.org/) | ||
- Node recommended version -> `18.16.0` | ||
- NPM recommended version -> `9.6.7` | ||
- [OpenShift CLI](https://docs.openshift.com/container-platform/4.12/cli_reference/openshift_cli/getting-started-cli.html) | ||
- [kustomize](https://github.com/kubernetes-sigs/kustomize) | ||
- [podman](https://github.com/containers/podman) | ||
- Have access to [Quay.io](https://quay.io/) | ||
|
||
### Additional tooling requirements | ||
|
||
- [OpenShift CLI, the "oc" command](https://docs.openshift.com/container-platform/4.12/cli_reference/openshift_cli/getting-started-cli.html) | ||
- [Podman](https://github.com/containers/podman) | ||
- [Quay.io](https://quay.io/) | ||
|
||
## Development | ||
|
||
1. Clone the repository | ||
|
||
``` bash | ||
git clone https://github.com/opendatahub-io/odh-dashboard | ||
``` | ||
|
||
2. Within the repo context, install project dependencies | ||
|
||
```bash | ||
cd odh-dashboard && npm install | ||
``` | ||
|
||
### Build project | ||
|
||
```bash | ||
npm run build | ||
``` | ||
|
||
### Serve development content | ||
|
||
This is the default context for running a local UI. Make sure you build the project using the instructions above prior to running the command below. | ||
|
||
```bash | ||
npm run start | ||
``` | ||
[Dev setup & Requirements]: docs/dev-setup.md | ||
[Dashboard documentation]: docs/README.md | ||
|
||
For in-depth local run guidance review the [contribution guidelines](./CONTRIBUTING.md#Serving%20Content). | ||
|
||
### Testing | ||
|
||
Run the tests. | ||
|
||
```bash | ||
npm run test | ||
``` | ||
|
||
Run storybook a11y tests and interaction tests. | ||
|
||
```bash | ||
npm run storybook | ||
npm run test:storybook | ||
``` | ||
|
||
For in-depth testing guidance review the [contribution guidelines](./CONTRIBUTING.md#Testing) | ||
|
||
## Deploying the ODH Dashbard | ||
|
||
### Official Image Builds | ||
|
||
odh-dashboard images are automatically built and pushed to [quay.io](https://quay.io/repository/opendatahub/odh-dashboard) after every commit to the `main` branch. The image tag name format for each image is `main-<COMMIT SHORT HASH>`. | ||
|
||
Example: The `main` branch is updated with commit `f76e3952834f453b1d085e8627f9c17297c2f64c`. The CI system will automatically build an odh-dashboard image based on that code and push the new image to `odh-dashboard:main-f76e395` and updated `odh-dashboard:main` to point to the same image hash. | ||
|
||
The [nightly](https://quay.io/opendatahub/odh-dashboard:nightly) tag is a floating tag that is updated nightly and points to the most recent `main-<HASH>` commit from the previous day. | ||
|
||
### Deploy using kustomize | ||
|
||
The [manifests](./manifests) folder contains a [kustomize](https://kustomize.io) manifest that can be used with `kustomize build`. | ||
|
||
### Deploy using a kfdef | ||
# Open Data Hub Dashboard | ||
|
||
The [manifests/kfdef](./manifests/kfdef) folder contains an example kfdef to deploy ODH Dashboard with the Notebook Controller backend is located in [odh-dashboard-kfnbc-test.yaml](manifests/kfdef/odh-dashboard-kfnbc-test.yaml). | ||
A dashboard for Open Data Hub components, featuring user flows to navigate and interact with the various component parts of the stack. | ||
|
||
## Contributing | ||
|
||
Contributing encompasses [repository specific requirements](./CONTRIBUTING.md). | ||
|
||
### Triaging | ||
|
||
For information on how we triage tickets, see our [triage.md](./docs/triaging.md). | ||
|
||
## Documentation | ||
|
||
You can find more information about this project in the [document section](./docs/README.md). | ||
|
||
## Releases | ||
Read more about the Dashboard in one of our documentation links. | ||
|
||
For more information on how, when, and what we do for releases, see our [releases.md](./docs/releases.md). | ||
* [Dev setup & Requirements] | ||
* [Dashboard documentation] |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,11 +1,38 @@ | ||
[Dev setup & Requirements]: dev-setup.md | ||
[Dashboard Configuration]: dashboard-config.md | ||
[Settings Panel]: admin-dashboard.md | ||
[User Interaction]: user-interaction.md | ||
[Bring Your Own Notebook]: byon.md | ||
[process flows docs]: process-definition/README.md | ||
[Architecture]: architecture.md | ||
[SDK]: SDK.md | ||
[Old custom APIs]: apis.md | ||
[releases]: release-steps.md | ||
|
||
# Dashboard Documentation | ||
|
||
This project is divided into several sections, each one describing features of the dashboard. | ||
This is the general documentation of the Dashboard component. | ||
|
||
## Configuration & Features | ||
|
||
> Note: We are working to detail out our feature flows to help with internal documentation efforts. | ||
* [Dashboard Configuration] | ||
* [Settings Panel] | ||
* [User Interaction] | ||
* [Bring Your Own Notebook] | ||
|
||
## Developer Readmes | ||
|
||
* [Dev setup & Requirements] | ||
* [Architecture] | ||
* [SDK] | ||
* [Old custom APIs] - Deprecated, moving to SDK | ||
|
||
## Process Flows | ||
|
||
Read more on how we do things in our [process flows docs]. | ||
|
||
### Releases | ||
|
||
* [ODH Dashboard Architecture](architecture.md) | ||
* [Dashboard Configuration](dashboard_config.md) | ||
* [Settings Panel](admin_dashboard.md) | ||
* [User Interaction](user_interaction.md) | ||
* [Bring Your Own Notebook](byon.md) | ||
* [SDK](SDK.md) | ||
* [Custom APIs](apis.md) -- Deprecated, moving to SDK | ||
For more information on how, when, and what we do for releases, see our [releases] documentation. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
File renamed without changes.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.