From 3fe4a8ecae14e8c11f77d39ca0d1b662ca1c9489 Mon Sep 17 00:00:00 2001 From: Oleg Lavrovsky Date: Mon, 18 May 2020 14:17:45 +0200 Subject: [PATCH] Loaddata command --- Makefile | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/Makefile b/Makefile index c4dd03f..ed39d58 100644 --- a/Makefile +++ b/Makefile @@ -86,9 +86,8 @@ backup-images: backup: backup-data backup-images -django-loaddata: - gunzip ~/publichealth.home.json.gz - docker-compose exec web ./manage.py loaddata ~/publichealth.home.json +loaddata: + docker-compose exec web ./manage.py loaddata publichealth.home.json restore: django-loaddata restart