NeroCube / bookmark

Place some learning resources
0 stars 0 forks source link

Build up Local Airflow #243

Open NeroCube opened 3 years ago

NeroCube commented 3 years ago

Quick Start

https://airflow.apache.org/docs/apache-airflow/stable/start.html

Setup Airflow

conda create -n airflow-tutorials python=3.6 -y
source activate airflow-tutorials
pip install "apache-airflow[crypto, slack]"
export AIRFLOW_HOME="$(pwd)"
airflow db init

Setup User Account

airflow users create \
--role Admin \
--username admin \
--password Join810316 \
--email nerocube.tw@gmail.com \
--firstname Nero \
--lastname Chen

Run Service

airflow webserver -p 8080