diff --git a/Makefile b/Makefile index 0ba629a..815cd75 100644 --- a/Makefile +++ b/Makefile @@ -6,6 +6,10 @@ build: ## Build the Docker image @poetry export --only main --output requirements.txt @docker build --tag ds-interview . +.PHONY: data +data: ## Create dataset + @poetry run make-data + .PHONY: help help: ## Show all available commands @awk 'BEGIN {FS = ":.*##"; printf "Usage: make \033[36m\033[0m\n"} /^[a-zA-Z_-]+:.*?##/ { printf " \033[36m%-36s\033[0m %s\n", $$1, $$2 } /^##@/ { printf "\n\033[1m%s\033[0m\n", substr($$0, 5) } ' $(MAKEFILE_LIST); diff --git a/README.md b/README.md index 5a6f2fa..758a214 100644 --- a/README.md +++ b/README.md @@ -24,7 +24,7 @@ Ensure you have created and validated your account with [Ngrok](https://ngrok.co `src/interview/data.py` contains an example function to build the classic [Iris dataset](https://scikit-learn.org/stable/auto_examples/datasets/plot_iris_dataset.html). You can build this with ```shell -poetry run make-data +make data ``` ### Run the Notebook with Docker