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 how to access rhoai instructions #26

Merged
merged 5 commits into from
Aug 14, 2024
Merged
Show file tree
Hide file tree
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
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
21 changes: 16 additions & 5 deletions skeleton/techdoc/docs/rhoai.md
Original file line number Diff line number Diff line change
Expand Up @@ -12,16 +12,27 @@ This document will outline how you can run build and run your sample application

## Running the Sample

1) Navigate to the OpenShift AI workbench created for your sample application
1) While on Console, navigate to the `OpenShift AI` by clicking the square "apps" icon on the top-right corner (next to the notifications icon). `Openshift AI` will be listed in the dropdown list

![image](./.assets/access-openshift-ai.png)

2) Go to the `Data Science Projects` section and access your application's project named `{{ values.namespace }}`

![image](./.assets/data-science-projects.png)

3) Access the `workbench` named `{{ values.name }}-notebook`

![image](./.assets/access-workbench.png)

4) Go to `File->Open` and select `Terminal`

2) Go to `File->Open` and select `Terminal`
![image](./.assets/open-terminal.png)

3) In the terminal, run `cd ${{ values.name }}` to navigate to your sample app's directory
5) In the terminal, run `cd ${{ values.name }}` to navigate to your sample app's directory

4) Run `pip install --upgrade -r requirements.txt` to install the dependencies for your application
6) Run `pip install --upgrade -r requirements.txt` to install the dependencies for your application

5) Run `${{ values.appRunCommand }}` to run the sample in the workbench.
7) Run `${{ values.appRunCommand }}` to run the sample in the workbench.

## Accessing the Sample

Expand Down
2 changes: 1 addition & 1 deletion templates/audio-to-text/content/Containerfile
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
FROM registry.access.redhat.com/ubi9/python-311:1-66.1720018730
FROM registry.access.redhat.com/ubi9/python-311:1-72.1722518949
WORKDIR /locallm
COPY requirements.txt /locallm/requirements.txt
RUN pip install --upgrade pip && \
Expand Down
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
21 changes: 16 additions & 5 deletions templates/audio-to-text/content/docs/rhoai.md
Original file line number Diff line number Diff line change
Expand Up @@ -12,16 +12,27 @@ This document will outline how you can run build and run your sample application

## Running the Sample

1) Navigate to the OpenShift AI workbench created for your sample application
1) While on Console, navigate to the `OpenShift AI` by clicking the square "apps" icon on the top-right corner (next to the notifications icon). `Openshift AI` will be listed in the dropdown list

![image](./.assets/access-openshift-ai.png)

2) Go to the `Data Science Projects` section and access your application's project named `{{ values.namespace }}`

![image](./.assets/data-science-projects.png)

3) Access the `workbench` named `{{ values.name }}-notebook`

![image](./.assets/access-workbench.png)

4) Go to `File->Open` and select `Terminal`

2) Go to `File->Open` and select `Terminal`
![image](./.assets/open-terminal.png)

3) In the terminal, run `cd ${{ values.name }}` to navigate to your sample app's directory
5) In the terminal, run `cd ${{ values.name }}` to navigate to your sample app's directory

4) Run `pip install --upgrade -r requirements.txt` to install the dependencies for your application
6) Run `pip install --upgrade -r requirements.txt` to install the dependencies for your application

5) Run `${{ values.appRunCommand }}` to run the sample in the workbench.
7) Run `${{ values.appRunCommand }}` to run the sample in the workbench.

## Accessing the Sample

Expand Down
2 changes: 1 addition & 1 deletion templates/chatbot/content/Containerfile
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
FROM registry.access.redhat.com/ubi9/python-311:1-66.1720018730
FROM registry.access.redhat.com/ubi9/python-311:1-72.1722518949
WORKDIR /chat
COPY requirements.txt .
RUN pip install --upgrade pip
Expand Down
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
21 changes: 16 additions & 5 deletions templates/chatbot/content/docs/rhoai.md
Original file line number Diff line number Diff line change
Expand Up @@ -12,16 +12,27 @@ This document will outline how you can run build and run your sample application

## Running the Sample

1) Navigate to the OpenShift AI workbench created for your sample application
1) While on Console, navigate to the `OpenShift AI` by clicking the square "apps" icon on the top-right corner (next to the notifications icon). `Openshift AI` will be listed in the dropdown list

![image](./.assets/access-openshift-ai.png)

2) Go to the `Data Science Projects` section and access your application's project named `{{ values.namespace }}`

![image](./.assets/data-science-projects.png)

3) Access the `workbench` named `{{ values.name }}-notebook`

![image](./.assets/access-workbench.png)

4) Go to `File->Open` and select `Terminal`

2) Go to `File->Open` and select `Terminal`
![image](./.assets/open-terminal.png)

3) In the terminal, run `cd ${{ values.name }}` to navigate to your sample app's directory
5) In the terminal, run `cd ${{ values.name }}` to navigate to your sample app's directory

4) Run `pip install --upgrade -r requirements.txt` to install the dependencies for your application
6) Run `pip install --upgrade -r requirements.txt` to install the dependencies for your application

5) Run `${{ values.appRunCommand }}` to run the sample in the workbench.
7) Run `${{ values.appRunCommand }}` to run the sample in the workbench.

## Accessing the Sample

Expand Down
2 changes: 1 addition & 1 deletion templates/codegen/content/Containerfile
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
FROM registry.access.redhat.com/ubi9/python-311:1-66.1720018730
FROM registry.access.redhat.com/ubi9/python-311:1-72.1722518949
WORKDIR /codegen
COPY requirements.txt .
RUN pip install --upgrade pip
Expand Down
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
21 changes: 16 additions & 5 deletions templates/codegen/content/docs/rhoai.md
Original file line number Diff line number Diff line change
Expand Up @@ -12,16 +12,27 @@ This document will outline how you can run build and run your sample application

## Running the Sample

1) Navigate to the OpenShift AI workbench created for your sample application
1) While on Console, navigate to the `OpenShift AI` by clicking the square "apps" icon on the top-right corner (next to the notifications icon). `Openshift AI` will be listed in the dropdown list

![image](./.assets/access-openshift-ai.png)

2) Go to the `Data Science Projects` section and access your application's project named `{{ values.namespace }}`

![image](./.assets/data-science-projects.png)

3) Access the `workbench` named `{{ values.name }}-notebook`

![image](./.assets/access-workbench.png)

4) Go to `File->Open` and select `Terminal`

2) Go to `File->Open` and select `Terminal`
![image](./.assets/open-terminal.png)

3) In the terminal, run `cd ${{ values.name }}` to navigate to your sample app's directory
5) In the terminal, run `cd ${{ values.name }}` to navigate to your sample app's directory

4) Run `pip install --upgrade -r requirements.txt` to install the dependencies for your application
6) Run `pip install --upgrade -r requirements.txt` to install the dependencies for your application

5) Run `${{ values.appRunCommand }}` to run the sample in the workbench.
7) Run `${{ values.appRunCommand }}` to run the sample in the workbench.

## Accessing the Sample

Expand Down
2 changes: 1 addition & 1 deletion templates/object-detection/content/Containerfile
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
FROM registry.access.redhat.com/ubi9/python-311:1-66.1720018730
FROM registry.access.redhat.com/ubi9/python-311:1-72.1722518949
WORKDIR /locallm
COPY requirements.txt /locallm/requirements.txt
RUN pip install --upgrade pip && \
Expand Down
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
21 changes: 16 additions & 5 deletions templates/object-detection/content/docs/rhoai.md
Original file line number Diff line number Diff line change
Expand Up @@ -12,16 +12,27 @@ This document will outline how you can run build and run your sample application

## Running the Sample

1) Navigate to the OpenShift AI workbench created for your sample application
1) While on Console, navigate to the `OpenShift AI` by clicking the square "apps" icon on the top-right corner (next to the notifications icon). `Openshift AI` will be listed in the dropdown list

![image](./.assets/access-openshift-ai.png)

2) Go to the `Data Science Projects` section and access your application's project named `{{ values.namespace }}`

![image](./.assets/data-science-projects.png)

3) Access the `workbench` named `{{ values.name }}-notebook`

![image](./.assets/access-workbench.png)

4) Go to `File->Open` and select `Terminal`

2) Go to `File->Open` and select `Terminal`
![image](./.assets/open-terminal.png)

3) In the terminal, run `cd ${{ values.name }}` to navigate to your sample app's directory
5) In the terminal, run `cd ${{ values.name }}` to navigate to your sample app's directory

4) Run `pip install --upgrade -r requirements.txt` to install the dependencies for your application
6) Run `pip install --upgrade -r requirements.txt` to install the dependencies for your application

5) Run `${{ values.appRunCommand }}` to run the sample in the workbench.
7) Run `${{ values.appRunCommand }}` to run the sample in the workbench.

## Accessing the Sample

Expand Down
Loading