Skip to content

Commit

Permalink
chore(readmes): update dev setup/contrib readmes
Browse files Browse the repository at this point in the history
Signed-off-by: gitdallas <[email protected]>

chore(readmes): update dev setup/contrib readmes

Signed-off-by: gitdallas <[email protected]>
  • Loading branch information
gitdallas committed Feb 27, 2024
1 parent cf3812d commit 55be4b5
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 3 deletions.
2 changes: 2 additions & 0 deletions CONTRIBUTING.md
Original file line number Diff line number Diff line change
Expand Up @@ -61,6 +61,8 @@ or
npm run make:login
```

> Note: You'll need to reauthenticate using one of the above steps and restart `backend` each day.
## Debugging and Testing

See [frontend testing guidelines](docs/testing.md) for more information.
Expand Down
8 changes: 5 additions & 3 deletions docs/dev-setup.md
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ ODH requires the following to run:
- 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)
- [kustomize](https://github.com/kubernetes-sigs/kustomize) (if you need to do deployment)

### Additional tooling

Expand Down Expand Up @@ -36,15 +36,17 @@ npm run build

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.

> Note: You must be logged-in with `oc` before you can start the backend.
> Note: You must be logged-in with `oc` before you can start the backend. Details for that are in the the [contribution guidelines](../CONTRIBUTING.md#give-your-dev-env-access).

> Note: The CLI logged-in user will need to be a `cluster-admin` level user on the cluster to mimic the Dashboard Service Account level of permissions. You could also bind the [cluster role](../manifests/base/cluster-role.yaml) to your user as we do with the service account [binding](../manifests/base/cluster-role-binding.yaml).

```bash
npm run start
```

For in-depth local run guidance review the [contribution guidelines](./CONTRIBUTING.md#Serving%20Content).
> If you'd like to run "backend" and "frontend" separately for development, cd into each directory in two different terminals and run `npm run start:dev` from each.
For in-depth local run guidance review the [contribution guidelines](../CONTRIBUTING.md#Serving%20Content).
### Testing
Expand Down

0 comments on commit 55be4b5

Please sign in to comment.