From fad0b668fa26b012e6e538163fc4ac8a664cfdc0 Mon Sep 17 00:00:00 2001 From: stupidcomputer Date: Tue, 30 Jul 2024 17:03:03 -0500 Subject: [PATCH] fix: make deployment promptless --- Makefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Makefile b/Makefile index 074b640..0f04de7 100644 --- a/Makefile +++ b/Makefile @@ -1,5 +1,5 @@ prod: # execute this target on the production server in the nix-shell - cd franklincce; python3 manage.py collectstatic + cd franklincce; yes yes | python3 manage.py collectstatic sh gen_kb.sh sed "s|change_me|$(shell dd if=/dev/urandom bs=1024 count=1|base64)|g" .env.prod.orig > .env.prod docker-compose -f docker-compose.prod.yml up -d --build