From daa4f0f9de021a8553c499820206a468c456239c Mon Sep 17 00:00:00 2001 From: wh1te909 Date: Sat, 11 Apr 2020 07:47:55 +0000 Subject: [PATCH] add some initial setup tasks to docker --- docker/api/prestart.sh | 2 ++ 1 file changed, 2 insertions(+) diff --git a/docker/api/prestart.sh b/docker/api/prestart.sh index 455c8a85..26995ac5 100755 --- a/docker/api/prestart.sh +++ b/docker/api/prestart.sh @@ -3,3 +3,5 @@ sleep 5 python manage.py migrate --no-input python manage.py collectstatic --no-input +python manage.py initial_db_setup +python manage.py load_chocos