fix: make deployment promptless
This commit is contained in:
parent
90e01d921f
commit
fad0b668fa
2
Makefile
2
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
|
||||
|
|
Loading…
Reference in New Issue