Skip to content

Latest commit

 

History

History
42 lines (37 loc) · 2.04 KB

README.md

File metadata and controls

42 lines (37 loc) · 2.04 KB

active_dev

Apache Airflow Python license

Description

Are you a beginner programmer, who wants to boost your GitHub? Or maybe you are tired of recruiters asking why your GitHub is not active? Or maybe you just want your GitHub to look like this? alt text

Worry not, this Airflow project will help you to mimic the activity in your GitHub profile by generating a random number of commits on a daily basis.

Prerequisites

  1. Python3
  2. Docker Desktop

Quickstart for on-premises Airflow

  1. Fork this repo
  2. Clone the repo to your local machine
  3. Create directories for airflow in your working directory: mkdir -p ./logs ./plugins
  4. Rename the airflow image in docker-compose.yaml from "extending_airflow:latest" -> "apache/airflow:2.5.3" (this is needed for the docker hub to download the correct airflow image)
  5. Initialize the db: docker compose up airflow-init
  6. Rename your image back from "apache/airflow:2.5.3" -> "extending_airflow:latest"
  7. Run this command to extend your airflow image: docker build . --tag extending_airflow:latest
  8. Start containers for our application: docker compose up -d
  9. Create new private repo in your GitHub and add empty .txt file there
  10. Create .env file in dags/ and edit it to include your data
  11. Open airflow webserver in your browser and log in with (login: airflow, password: airflow)
  12. Run "mimic_activity_dag"

Quickstart for Google Cloud Composer (managed Airflow)

  1. Set up the account in GCP
  2. Create a Composer instance
  3. Add "create_activity_dat_composer.py" to the DAG folder
  4. Add variables from the .env file to Airflow's variables list
  5. Run "mimic_activity_dag_composer"

Congrats, now your GitHub will stay active forever!