Skip to content

Commit

Permalink
Merge pull request #89 from IBM/rebased-notebook
Browse files Browse the repository at this point in the history
Documentation Changes to Demo notebook from Rebased notebook branch
  • Loading branch information
daw3rd committed May 13, 2024
2 parents 8ff4104 + f0e818a commit 489bec8
Show file tree
Hide file tree
Showing 8 changed files with 872 additions and 0 deletions.
3 changes: 3 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -112,6 +112,9 @@ for creating and managing the Ray cluster and [KubeRay API server](https://githu
to interact with the KubeRay operator. An additional [framework](kfp/kfp_support_lib) along with several
[kfp components](kfp/kfp_ray_components) is used to simplify the pipeline implementation.

#### Example Notebook
A quick way to get started is to use a demo data-processing pipeline locally via [example notebook](./examples/).


## &#x2699; Setup <a name = "setup"></a>

Expand Down
14 changes: 14 additions & 0 deletions examples/Makefile
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
REPOROOT=../
# Use make help, to see the available rules

include ../.make.defaults

clean:: .defaults.clean

venv:: .defaults.lib-src-venv
@# Help: Install requirements from all transforms into a venv
. ./venv/bin/activate && bash ./prepare_env.sh

jupyter::
@# Help: Activate the venv and start the example notebook
. ./venv/bin/activate && . ./launch.sh
20 changes: 20 additions & 0 deletions examples/README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
## Demo Notebook

We can launch a jupyter notebook to try out the library or transforms or to build a usecase.


## One time Step

1. Run this step install the dependancies.

**Prepare virtualenv**

`make venv`

## Launch

2. After dependancies are installed, we can launch the jupyter notebook

`make jupyter`

It will launch browser with the jupyter notebook where we can try out the transforms.

0 comments on commit 489bec8

Please sign in to comment.