-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathMakefile
More file actions
34 lines (26 loc) · 870 Bytes
/
Makefile
File metadata and controls
34 lines (26 loc) · 870 Bytes
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
.SILENT: venv install export-env start stop test
GREEN=\033[0;32m
YELLOW=\033[0;33m
GREY=\033[0;30m
NC=\033[0m # No Color
# Export .env file as environment variables
ifneq (,$(wildcard ./.env))
include .env
export
endif
venv:
python -m venv pyenv
echo -e "${YELLOW}Please, enable python virtual environment 'pyenv' before 'make install'${NC}"
echo -e "${GREY}Windows: source pyenv/Scripts/activate${NC}"
echo -e "${GREY}MacOS: source pyenv/bin/activate${NC}"
install:
pip install -r .airflow/requirements.txt
pip install -r tools/requirements.txt
export-env:
echo -e "${GREEN}Exported evnironment variables from '.env' file.${NC}, Please open a new terminal to use exported env variables."
start:
docker compose -f .docker/docker-compose.yml up --build
stop:
docker compose -f .docker/docker-compose.yml down -v
test:
echo "not implemented yet"