Skip to content

Commit 1bfe372

Browse files
committed
added docker commands to make
1 parent 5665b5f commit 1bfe372

File tree

1 file changed

+29
-12
lines changed

1 file changed

+29
-12
lines changed

Makefile

Lines changed: 29 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -1,29 +1,46 @@
1+
# Author information
12
AUTHOR := Labriji Saad
23

3-
# Default target
4+
# Default target when no arguments are provided to make
45
.DEFAULT_GOAL := help
56

6-
# run Jupyter Lab
7+
# Run Jupyter Lab - starts Jupyter Lab to allow for interactive development
78
jupy:
9+
@echo "Starting Jupyter Lab..."
810
@jupyter lab
911

10-
# run Kedro pipelines
12+
# Run Kedro pipelines - executes the main pipeline defined in your Kedro project
1113
run:
14+
@echo "Running Kedro pipeline..."
1215
@kedro run
1316

14-
# run Kedro Viz
17+
# Run Kedro Viz - launches Kedro's visualization tool to view the pipeline structure
1518
viz:
19+
@echo "Running Kedro Viz..."
1620
@kedro viz run
1721

18-
# run Kedro Viz in autoreload mode
22+
# Run Kedro Viz in autoreload mode - automatically refreshes the visualization when changes are detected
1923
autoviz:
24+
@echo "Running Kedro Viz in autoreload mode..."
2025
@kedro viz run --autoreload
2126

22-
# Display available make targets
27+
# Build Docker image for the project - creates a Docker image based on your Kedro project's specifications
28+
build:
29+
@echo "Building Docker image..."
30+
@kedro docker build
31+
32+
# Run Kedro project inside a Docker container - executes the project within a Docker container
33+
dockerun:
34+
@echo "Running Kedro project in Docker..."
35+
@kedro docker run
36+
37+
# Display help with available make targets
2338
help:
24-
@echo Available targets:
25-
@echo make jupy - Activate the virtual environment and run Jupyter Lab
26-
@echo make run - Run Kedro pipelines
27-
@echo make viz - Run Kedro Viz
28-
@echo make autoviz - Run Kedro Viz in autoreload mode
29-
@echo Author: $(AUTHOR)
39+
@echo Available targets:
40+
@echo make jupy - Activate the virtual environment and run Jupyter Lab
41+
@echo make run - Run Kedro pipelines
42+
@echo make viz - Run Kedro Viz
43+
@echo make autoviz - Run Kedro Viz in autoreload mode
44+
@echo make build - Build Docker image for the project
45+
@echo make dockerun - Run Kedro project inside a Docker container
46+
@echo Author: $(AUTHOR)

0 commit comments

Comments
 (0)