https://github.com/ifrcgo/montandon-etl
https://github.com/ifrcgo/montandon-etl
montandon
Last synced: 12 months ago
JSON representation
- Host: GitHub
- URL: https://github.com/ifrcgo/montandon-etl
- Owner: IFRCGo
- Created: 2024-11-12T03:59:03.000Z (over 1 year ago)
- Default Branch: develop
- Last Pushed: 2025-08-03T10:00:12.000Z (12 months ago)
- Last Synced: 2025-08-03T12:03:50.793Z (12 months ago)
- Topics: montandon
- Language: Python
- Homepage:
- Size: 4.85 MB
- Stars: 1
- Watchers: 7
- Forks: 0
- Open Issues: 171
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Montandon ETL
## Getting Started
Clone this repository:
```bash
git clone git@github.com:IFRCGo/montandon-etl.github
cd montandon-etl
```
Update submodules
```bash
git submodule update --init --recursive
```
Create an empty .env file.
```bash
touch .env
```
Install python dependencies
```bash
# uv should be installed globally
uv sync
```
### Running
Run container using the following command:
```bash
docker compose up --build -d
```
Run migration using the following command:
```bash
docker-compose exec web python manage.py migrate
```
Create users to access admin panel using the following command:
```bash
docker-compose exec web python manage.py createsuperuser
```
### Triggering data import from external sources
```bash
# Import from GDACS
docker-compose exec web python manage.py extract_gdacs_data
# Import from GLIDE
docker-compose exec web python manage.py extract_glide_data
# Import from EMDAT
docker-compose exec web python manage.py extract_glide_data
# Import from IDU
docker-compose exec web python manage.py extract_idu_data
# Import from GIDD
docker-compose exec web python manage.py extract_gidd_data
# Import from GFD
docker-compose exec web python manage.py extract_gfd_data
```