Closed ghost closed 2 years ago
pip install apache-airflow==2.2.0
airflow db init
# 아래 부분은 각자 상황에 맞게 변경하면 됩니다.
airflow users create --username admmin --password 1234 --firstname soonho --lastname kwon --role Admin --email tnsgh9603@naver.com
airflow webserver --port 30001
아래와 같이 termios 오류가 뜰 경우 링크를 참조하여 해결하면 됩니다. https://altongmon.tistory.com/703
What
Airflow 적용
Why
Airflow는 workflow 작성, 정해진 시간에 예약 실행 및 모니터링을 할 때 사용합니다. 또는, 모델을 주기적으로 학습시키는 경우 사용합니다. 사실 저희가 하는 프로젝트는 굳이 그럴 필요가 없기 때문에 적용 시키지 않아도 되지만, 부캠에서 배운 내용을 실습하는 김에 시도해보았습니다. 최종 프로젝트에는 적용하지 않을 예정입니다. 빠르게 정리하고 모델링 쪽으로 넘어가도록 하겠습니다.
How