Skip to content

jarretjeter/Airflow-Code-Review

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

17 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Airflow-Code-Review

By Jarret Jeter

This is a basic example of how to install Apache Airflow locally on your computer and then run a custom DAG

Technologies Used

  • Python
  • Apache Airflow

Description

I included a bash script with instructions on how to set up Airflow locally on a machine. The Dag's tasks use simple bash commands and python functions.

Setup/Installation Requirements

  • _Make sure you have a text editor such as Visual Studio Code installed and also a linux bash terminal to use.
  • Clone this repository (https://github.com/jarretjeter/Airflow-Code-Review) onto your local computer from github
  • In VS Code or another text editor, open this project
  • Read the contents of setup.sh and then run it in your bash terminal
  • Next, in your terminal run the command 'airflow standalone'
  • Once you have Airflow up and running, go to your browser and enter the address 'localhost:8080'. You'll be prompted to enter a user which is 'admin' by default and a password. Look in the standalone_admin_password.txt file that was generated during the Airflow installation for your password.
  • Once logged in you can click on the DAG 'ch6_code_review_taskflow', toggle it on and run it to see it work. You can click on the individual tasks and then their logs to see their output after running.

Known Bugs

  • No known bugs

License

If you have any questions, please email me at jarretjeter@gmail.com

MIT

Copyright (c) 6/23/2022 Jarret Jeter

About

A small dag workflow I created using Apache Airflow

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published