Skip to content

Latest commit

 

History

History
81 lines (55 loc) · 2.78 KB

CONTRIBUTORS_QUICK_START_GITPOD.rst

File metadata and controls

81 lines (55 loc) · 2.78 KB
  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

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.

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 [email protected] --firstname foo --lastname bar

Follow the Quick start for typical development tasks.