Skip to content

thangloigroup/Airflow-Tutorial

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 

Repository files navigation

Airflow-Tutorial

My own Document

Setting up

Create virtual environment

conda create -n airflow-tutorial python=3.8 -y 
conda activate airflow-tutorial

Install airflow with specific version and its constraints

pip install apache-airflow==2.2.3 --constraint constraints-no-providers.txt

Setup Airflow

Create Airflow databases

airflow db init

Expected output: ~/airflow/ folder

Set Airflow home: Airflow need a home with ~/airflow is default.

export AIRFLOW_HOME=~/airflow

Create user

airflow users create --username admin --password admin --firstname Nathan --lastname Ngo --role Admin --email [email protected]

Start Airflow

airflow webserver -p 8080
airflow scheduler

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Python 100.0%