Add make command to install dependencies
This commit is contained in:
parent
f01a83f540
commit
9106649cf5
4
Makefile
4
Makefile
|
@ -14,6 +14,10 @@ data: ## Create dataset
|
||||||
help: ## Show all available commands
|
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);
|
@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
|
.PHONY: run
|
||||||
run: ## Run the Docker image
|
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
|
@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
|
||||||
|
|
|
@ -14,7 +14,7 @@
|
||||||
Create your local environment with
|
Create your local environment with
|
||||||
|
|
||||||
```shell
|
```shell
|
||||||
poetry install
|
make install
|
||||||
```
|
```
|
||||||
|
|
||||||
Ensure you have created and validated your account with [Ngrok](https://ngrok.com/).
|
Ensure you have created and validated your account with [Ngrok](https://ngrok.com/).
|
||||||
|
|
Loading…
Reference in New Issue