1 Star 0 Fork 0

caoshiwei / airflow

加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
克隆/下载
CONTRIBUTORS_QUICK_START_GITPOD.rst 2.78 KB
一键复制 编辑 原始数据 按行查看 历史

Connect your project to Gitpod

  1. Goto https://github.com/apache/airflow/ and fork the project.

    Forking Apache Airflow project
  2. Goto your github account's fork of airflow click on Code and copy the clone link.

    Cloning github fork of Apache airflow
  3. Add goto https://gitpod.io/#<copied-url> as shown.

    Open personal airflow clone with Gitpod

Set up Breeze in Gitpod

Gitpod default image have all the required packages installed.

  1. Run pipx install -e ./dev/breeze to install Breeze
  2. Run breeze to enter breeze in Gitpod.

Setting up database in Breeze

Once you enter breeze environment is initialized, create airflow tables and users from the breeze CLI. The airflow db reset command is required to execute at least once for Airflow Breeze to get the database/tables created. When you run the tests, your database will be initialized automatically the first time you run tests.

Note

This step is needed when you would like to run/use webserver.

root@b76fcb399bb6:/opt/airflow# airflow db reset
root@b76fcb399bb6:/opt/airflow# airflow users create --role Admin --username admin --password admin \
  --email admin@example.com --firstname foo --lastname bar

Follow the Quick start for typical development tasks.

Python
1
https://gitee.com/mingganci/apache-airflow.git
git@gitee.com:mingganci/apache-airflow.git
mingganci
apache-airflow
airflow
main

搜索帮助

53164aa7 5694891 3bd8fe86 5694891