Skip to content

Latest commit

 

History

History
41 lines (27 loc) · 2.54 KB

README.md

File metadata and controls

41 lines (27 loc) · 2.54 KB

Astronomer Templates

Welcome to the Astronomer Templates repository! Launch your journey with Airflow by signing up for a trial at astronomer.io! If you've already created a trial and have cloned this repository, check out your chosen template in the table of contents.

Table of Contents

This repository contains 3 projects for demonstrating the capabilities and use cases of Airflow.

Purpose of This Repository

These templates are designed to help new users learn and try Airflow quickly. As you move your workloads into business-critical applications or adopt advanced Airflow features, reach out to Astronomer's Airflow experts to get help deploying to production.

Run a Template Locally

  1. Navigate to your chosen project by selecting an option in the table of contents above

  2. Start Airflow on your local machine by running 'astro dev start'.

This command will spin up 4 Docker containers on your machine, each for a different Airflow component:

  • Postgres: Airflow's Metadata Database
  • Webserver: The Airflow component responsible for rendering the Airflow UI
  • Scheduler: The Airflow component responsible for monitoring and triggering tasks
  • Triggerer: The Airflow component responsible for triggering deferred tasks
  1. Verify that all 4 Docker containers were created by running 'docker ps'.

Note: Running 'astro dev start' will start your project with the Airflow Webserver exposed at port 8080 and Postgres exposed at port 5432. If you already have either of those ports allocated, you can either stop your existing Docker containers or change the port.

  1. Access the Airflow UI for your local Airflow project. To do so, go to http://localhost:8080/ and log in with 'admin' for both your Username and Password.

You should also be able to access your Postgres Database at 'localhost:5432/postgres'.