From a43b330a5c07de76e2da0f1112b8e993ce1dbb94 Mon Sep 17 00:00:00 2001 From: "Lucas F." Date: Fri, 2 Feb 2024 15:26:44 -0300 Subject: [PATCH] fix: static folder name --- run.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/run.sh b/run.sh index e249506..a611829 100755 --- a/run.sh +++ b/run.sh @@ -329,7 +329,7 @@ install_dependencies() { # Coletar arquivos estáticos, criar tabelas e criar super usuário # Perform collectstatic, migrate and createsuperuser execute_collec_mig_createsup() { - mkdir -p /home/$USERNAME/$APP/staticfiles && + mkdir -p /home/$USERNAME/$APP/static && /home/$USERNAME/$APP/$VENV/bin/python3 /home/$USERNAME/$APP/manage.py collectstatic --noinput && /home/$USERNAME/$APP/$VENV/bin/python3 /home/$USERNAME/$APP/manage.py migrate if [[ $? -ge 1 ]]; then