Skip to content

Commit d8ccd6e

Browse files
committed
talk: Add more run details to data science talk
* Added Prerequisites section * Added `poetry` to the make targets
1 parent 719c04b commit d8ccd6e

File tree

2 files changed

+16
-7
lines changed
  • argocon-demos/2024-data-science-workflows-made-easy-python-powered-argo-for-your-organization

2 files changed

+16
-7
lines changed

argocon-demos/2024-data-science-workflows-made-easy-python-powered-argo-for-your-organization/README.md

Lines changed: 11 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -14,9 +14,17 @@ The code used in the talk can be found in the [example folder](example), which
1414
is adapted from the Pipekit blog post
1515
[How To Get the Most out of Hera for Data Science](https://pipekit.io/blog/how-to-get-the-most-out-of-hera-for-data-science).
1616

17-
1. Ensure [docker-desktop](https://www.docker.com/products/docker-desktop/) is running
18-
1. Run `make install-environment`
19-
1. Port forward the argo service and the minio service
17+
### Prerequisites
18+
19+
* [docker-desktop](https://www.docker.com/products/docker-desktop/) with the
20+
local Kubernetes cluster running to be able to install and run Argo Workflows locally
21+
* [Poetry](https://python-poetry.org/docs/#installation) to install and run
22+
Python more easily
23+
24+
### Running the example
25+
26+
1. Run `make install`
27+
1. Port forward the argo service and the minio service (easiest with [k9s](https://k9scli.io/))
2028
1. Run `make add-data`
2129
1. Run `make run`
2230
1. See the workflow at the localhost web address printed to the console

argocon-demos/2024-data-science-workflows-made-easy-python-powered-argo-for-your-organization/example/Makefile

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,16 +1,17 @@
11
.PHONY: run-offline
22
run-offline:
3-
python -m ds_blog
3+
poetry run -m ds_blog
44

55
.PHONY: run
66
run:
77
@poetry export --without-hashes --without-urls > requirements.txt
88
@docker build . -t ds-blog:v1
9-
python -m ds_blog
9+
poetry run python -m ds_blog
1010

11-
.PHONY: install-environment
12-
install-environment:
11+
.PHONY: install
12+
install:
1313
@./install.sh
14+
poetry install
1415

1516
.PHONY: add-data
1617
add-data: ## Minio must be port-forwarded before running

0 commit comments

Comments
 (0)