0
0

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?

More than 3 years have passed since last update.

簡単airflow立ち上げ方法 #memo

Last updated at Posted at 2021-08-18

#メモ記事です。

これだけで実行可能。
passwardの部分だけは書き換えてね。
ローカル環境以外で立ち上げる人は、セキュリティ設定に気を付けましょう。

環境:ubuntu

export AIRFLOW_HOME=~/airflow
pip3 install apache-airflow
pip3 install typing_extensions
# initialize the database
airflow db init

airflow users create --username Admin --firstname FIRST_NAME --lastname LAST_NAME -p ぱすわーーーーーど --role Admin --email admin@example.org

# start the web server, default port is 8080
airflow webserver -p 8080
# start the scheduler. I recommend opening up a separate terminal #window for this step
airflow scheduler
# visit localhost:8080 in the browser and enable the example dag in the home page

ref

立ち上げ:https://medium.com/@jacksonbull1987/how-to-install-apache-airflow-6b8a2ae60050
サンプル:https://dev.classmethod.jp/articles/airflow-gs-arch-learn/

0
0
0

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
0
0

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?