This repository automates the collection and deployment of KBO data using Apache Airflow. It manages the entire data flow from collection to visualization in the KBO Data Portal.
- Automates data collection and processing using Apache Airflow
- Docker Compose-based deployment for local development
- Integrates with Collector and API Server via Git submodules
- Manages ETL workflows and data flow to visualization layer
-
Clone the repository with submodules
git clone --recurse-submodules https://github.com/kbo-data-portal/pipeline.git cd pipelineEnsure that your GCP service account key is placed in the
configfolder and renamed tokey.json. -
Initialize submodules (if not cloned with --recurse-submodules)
git submodule update --init --remote
-
Start Airflow services using Docker Compose
docker-compose up -d
-
Access the Airflow Web UI
- Open your browser and navigate to http://localhost:8080/
- Login credentials:
- Username:
admin - Password:
admin
- Username:
-
Update submodules (if needed)
git submodule update --remote
This project uses Git submodules to manage external components:
collector: Handles data collection logic.api-server: Flask-based web application for data visualization.
This project is licensed under the MIT License. See the LICENSE file for details.