From 02b24cdda98db4f130572752d69c531d91f2eb67 Mon Sep 17 00:00:00 2001 From: Matt Prahl Date: Fri, 23 Sep 2016 11:41:28 -0400 Subject: [PATCH] Replace generate_localhost_cert.sh with `python manage.py generatelocalhostcert` --- Dockerfile | 2 +- Vagrantfile | 2 +- generate_localhost_cert.sh | 3 --- manage.py | 37 +++++++++++++++++++++++++++++++++++++ 4 files changed, 39 insertions(+), 5 deletions(-) delete mode 100755 generate_localhost_cert.sh diff --git a/Dockerfile b/Dockerfile index c5bf9f13..7f04e0fb 100644 --- a/Dockerfile +++ b/Dockerfile @@ -12,5 +12,5 @@ COPY koji.conf /etc/rida/ COPY . /opt/fm-orchestrator/ -RUN python2 ./manage.py upgradedb && ./generate_localhost_cert.sh +RUN python2 ./manage.py upgradedb && python2 manage.py generatelocalhostcert CMD ["python2", "manage.py", "runssl"] diff --git a/Vagrantfile b/Vagrantfile index 786f05e5..332b668c 100644 --- a/Vagrantfile +++ b/Vagrantfile @@ -9,7 +9,7 @@ $script = <