Skip to content

A project to fork to develop Airflow DAGs with the Astro CLI within GitHub codespaces.

Notifications You must be signed in to change notification settings

drobert-bfm/astro-cli-codespaces

 
 

Repository files navigation

An Astro project to run within GitHub Codespaces

Welcome to Astronomer! 🚀

This repository is an Astro project, a local Apache Airflow project created with the OSS Astro CLI, that you can run within GitHub codespaces. You can fork this repository to develop your own Apache Airflow projects without the need for any local setup.

Setting up

Run this Airflow project without installing anything locally.

  1. Fork this repository.

  2. Create a new GitHub codespaces project on your fork by clicking ... and New with options. Make sure it uses at least 4 cores!

    Fork repo and create a codespaces project

    Ensure codespaces uses at least 4 cores

  3. Wait for the codespaces project to start. Once it has started, open a new terminal and run the following command:

    astro dev start
  4. Once the Airflow project has started access the Airflow UI by clicking on the Ports tab and opening the forward URL for port 8080.

    Open Airflow UI URL Codespaces

  5. Log in to the Airflow UI using the credentials admin and admin.

    Log in to Airflow UI

  6. You can now start developing your Airflow project within GitHub codespaces! Run DAGs by toggling them on in the Airflow UI and clicking the Run arrow. There is one example DAG in the dags folder that you can run out of the box.

    Run DAGs in Airflow UI

Resources

About

A project to fork to develop Airflow DAGs with the Astro CLI within GitHub codespaces.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Python 99.5%
  • Dockerfile 0.5%