From 9106649cf5b2c57f3b67cd314cf183b497654337 Mon Sep 17 00:00:00 2001 From: Paul Harrison Date: Thu, 19 Oct 2023 09:26:21 +0100 Subject: [PATCH] Add make command to install dependencies --- Makefile | 4 ++++ README.md | 2 +- 2 files changed, 5 insertions(+), 1 deletion(-) diff --git a/Makefile b/Makefile index 815cd75..bb6d38c 100644 --- a/Makefile +++ b/Makefile @@ -14,6 +14,10 @@ data: ## Create dataset 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); +.PHONY: install +install: ## Install dependencies + @poetry install --no-interaction + .PHONY: run run: ## Run the Docker image @docker run --rm -it -p "8888:8888" ds-interview jupyter lab --collaborative --no-browser --allow-root --ip "0.0.0.0" --ServerApp.allow_remote_access true --config Xfrozen_modules=off diff --git a/README.md b/README.md index 6b5aa02..1b2d018 100644 --- a/README.md +++ b/README.md @@ -14,7 +14,7 @@ Create your local environment with ```shell -poetry install +make install ``` Ensure you have created and validated your account with [Ngrok](https://ngrok.com/).