- 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:
Fill up the form for creating super user.
docker-compose exec web python manage.py createsuperuser
- Once user is created, go the browser and request the link http://localhost:8000/admin/ to view the data in Extraction data table.
-
Notifications
You must be signed in to change notification settings - Fork 0
IFRCGo/montandon-etl
Folders and files
Name | Name | Last commit message | Last commit date | |
---|---|---|---|---|
Repository files navigation
About
No description, website, or topics provided.
Resources
Stars
Watchers
Forks
Releases
No releases published
Packages 0
No packages published