-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathMakefile
31 lines (22 loc) · 797 Bytes
/
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
init-airflow:
echo "AIRFLOW_UID=$$(id -u)" > .env
docker-compose -f docker-compose_airflow.yaml build
docker-compose -f docker-compose_airflow.yaml up airflow-init
start-airflow:
docker-compose -f docker-compose_airflow.yaml up -d
stop-airflow:
docker-compose -f docker-compose_airflow.yaml down
init-pipenv:
pipenv sync --dev
unit-tests:
pipenv run pytest tests --pdb
generate-dags:
docker-compose -f docker-compose_airflow.yaml run --rm airflow-cli python scripts/generate_dags.py
follow-logs:
docker-compose -f docker-compose_airflow.yaml logs -f
run-jupyter:
pipenv run jupyter-notebook
lint:
pipenv run pylint --rcfile=setup.cfg categories_classification
clean-up:
docker-compose -f docker-compose_airflow.yaml down && docker-compose -f docker-compose_airflow.yaml rm -v