From fb74831390f04d91de81c0d4f9f68b7472cd096a Mon Sep 17 00:00:00 2001 From: Oleg Lavrovsky Date: Tue, 19 May 2020 14:18:36 +0200 Subject: [PATCH] Added local-loaddata to Makefile --- Makefile | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/Makefile b/Makefile index 10cb420..b21f3c4 100644 --- a/Makefile +++ b/Makefile @@ -4,6 +4,10 @@ export EMAIL=change_me@localhost.localhost default: build +local-loaddata: + sed -i 's/\"is_default_site\": true/\"is_default_site\": false/g' publichealth.home.json + python manage.py loaddata publichealth.home.json + upgrade: docker-compose pull