Add make command to install dependencies

This commit is contained in:
Paul Harrison 2023-10-19 09:26:21 +01:00
parent f01a83f540
commit 9106649cf5
2 changed files with 5 additions and 1 deletions

View File

@ -14,6 +14,10 @@ data: ## Create dataset
help: ## Show all available commands
@awk 'BEGIN {FS = ":.*##"; printf "Usage: make \033[36m<target>\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

View File

@ -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/).