GithubHelp home page GithubHelp logo

rossanomarcos / apache-airflow-course Goto Github PK

View Code? Open in Web Editor NEW

This project forked from alexandraabbas/apache-airflow-course

0.0 1.0 0.0 28 KB

Public source code for the Udemy online course Apache Airflow: Complete Hands-On Beginner to Advanced Class.

License: MIT License

Python 100.00%

apache-airflow-course's Introduction

Apache Airflow: Complete Hands-On Beginner to Advanced Class

This repository hold the source code for the Udemy online course Apache Airflow: Complete Hands-On Beginner to Advanced Class by Alexandra Abbas.

Intsall Apache Airflow

As explained in the course before meking use of this code base you need to install Apache Airflow locally on your machine.

pip install apache-airflow[gcp,statsd,sentry]==1.10.10

Install these extra packages as well.

pip install cryptography==2.9.2
pip install pyspark==2.4.5

To validate your Airflow installation check your Airflow version. This should print 1.10.10.

airflow version

If you have installed Airflow earlier you might get a DeprecationWarning about having multiple airflow.cfg files but that’s okay as long as you set the correct AIRFLOW_HOME environment variable in your Terminal.

Initialise an Airflow environment

As a next step you need to initialise an Airflow environment locally to run DAGs.

Set the AIRFLOW_HOME variable.

export AIRFLOW_HOME=path/to/this/directory

Initialise Airflow and the metadata database.

airflow initdb

Now, you can run both the web server and the scheduler.

Run the web server.

airflow webserver

In a different terminal window/session where you set the AIRFLOW_HOME variable again run the scheduler.

airflow scheduler

Great!πŸŽ‰ Now you can access the Airflow web UI on http://localhost:8080.

apache-airflow-course's People

Contributors

alexandraabbas avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    πŸ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. πŸ“ŠπŸ“ˆπŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❀️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.