From 90159aef6766b560658e3c18e7bc4dcb44019a83 Mon Sep 17 00:00:00 2001
From: Konrad Mohrfeldt <konrad.mohrfeldt@farbdev.org>
Date: Sat, 23 Apr 2022 17:10:06 +0200
Subject: [PATCH] fix: collectstatic should run without user interaction

---
 run.sh | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/run.sh b/run.sh
index f582f318..4121c201 100755
--- a/run.sh
+++ b/run.sh
@@ -41,7 +41,7 @@ if [[ $docker == "false" ]]; then
 		echo "apply database migrations"
 		./manage.py migrate
     echo "collect static resources"
-    ./manage.py collectstatic
+    ./manage.py collectstatic --clear --noinput
 		echo "create django superuser"
 		./manage.py createsuperuser --noinput
 		echo "create rsa key"
-- 
GitLab