From 8e8886024cfa53bc60b850b6245836eb731d5bbf Mon Sep 17 00:00:00 2001 From: Gabriel Augendre Date: Mon, 2 Apr 2018 13:19:25 +0200 Subject: [PATCH] Fix bash script --- bash/run-prod.sh | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/bash/run-prod.sh b/bash/run-prod.sh index 46fee76..2e0d201 100644 --- a/bash/run-prod.sh +++ b/bash/run-prod.sh @@ -1,2 +1,4 @@ #!/bin/sh -python3 manage.py migrate && python3 manage.py collectstatic --noinput && gunicorn refunds.wsgi -b 0.0.0.0:8000 --log-file - +pipenv run python manage.py migrate && \ +pipenv run python manage.py collectstatic --noinput && \ +pipenv run gunicorn refunds.wsgi -b 0.0.0.0:8000 --log-file -