-
Notifications
You must be signed in to change notification settings - Fork 1
/
Makefile
56 lines (46 loc) · 1.8 KB
/
Makefile
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
# Author information
AUTHOR := Labriji Saad
# Default target when no arguments are provided to make
.DEFAULT_GOAL := help
prep-dev:
@echo "Installing development dependencies..."
@pip install -r dev-requirements.txt
prep-doc:
@echo "Installing production (Docker) dependencies..."
@pip install -r docker-requirements.txt
# Run Jupyter Lab - starts Jupyter Lab to allow for interactive development
jupy:
@echo "Starting Jupyter Lab..."
@jupyter lab
# Run Kedro pipelines - executes the main pipeline defined in your Kedro project
run:
@echo "Running Kedro pipeline..."
@kedro run
# Run Kedro Viz - launches Kedro's visualization tool to view the pipeline structure
viz:
@echo "Running Kedro Viz..."
@kedro viz run
# Run Kedro Viz in autoreload mode - automatically refreshes the visualization when changes are detected
autoviz:
@echo "Running Kedro Viz in autoreload mode..."
@kedro viz run --autoreload
# Build Docker image for the project - creates a Docker image based on your Kedro project's specifications
build:
@echo "Building Docker image..."
@kedro docker build
# Run Kedro project inside a Docker container - executes the project within a Docker container
dockerun:
@echo "Running Kedro project in Docker..."
@kedro docker run
# Display help with available make targets
help:
@echo Available targets:
@echo make prep-dev - Install development dependencies
@echo make prep-doc - Install production (Docker) dependencies
@echo make jupy - Activate the virtual environment and run Jupyter Lab
@echo make run - Run Kedro pipelines
@echo make viz - Run Kedro Viz
@echo make autoviz - Run Kedro Viz in autoreload mode
@echo make build - Build Docker image for the project
@echo make dockerun - Run Kedro project inside a Docker container
@echo Author: $(AUTHOR)