Skip to content

IFRCGo/montandon-etl

Repository files navigation

Getting started

  • Clone this repository: [email protected]:IFRCGo/montandon-etl.github
  • Go the directory where manage.py exists.
  • Create a .env file and copy all environment variable from sample.env.
  • Set your own environment variables in .env file.
  • Initialize, update, and ensure the proper setup of submodules in your repository.
       git submodule update --init --recursive
  • Buiid docker using this command:
       docker compose up --build -d
  • Run migration using this command:
       docker-compose exec web python manage.py migrate
  • Command to import GDACS data.
       docker-compose exec web python manage.py import_gdacs_data
  • To view the imported data in the admin panel you need to create yourself as a superuser:
       docker-compose exec web python manage.py createsuperuser
    Fill up the form for creating super user.
  • Once user is created, go the browser and request the link http://localhost:8000/admin/ to view the data in Extraction data table.

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages