From 39c6980fe437342792a00e6123195dd81876b0a7 Mon Sep 17 00:00:00 2001 From: Kevin Veen-Birkenbach Date: Thu, 6 Dec 2018 08:53:27 +0100 Subject: [PATCH] Optimized copy configuration for presentation of elk for IBM --- administration/build.sh | 7 +++---- administration/copy-configuration.sh | 5 +++++ 2 files changed, 8 insertions(+), 4 deletions(-) create mode 100644 administration/copy-configuration.sh diff --git a/administration/build.sh b/administration/build.sh index 090d1d5..d729231 100644 --- a/administration/build.sh +++ b/administration/build.sh @@ -1,8 +1,7 @@ ( -cd $(dirname $(readlink -f ${0}))/../; -cp -v .env.dist docker-symfony/.env; -cp -v ./application/phpunit.xml.dist ./application/phpunit.xml; -cd docker-symfony; +cd $(dirname $(readlink -f ${0}))/; +bash ./copy-configuration.sh +cd ../docker-symfony; docker-compose build; docker-compose up -d; ) diff --git a/administration/copy-configuration.sh b/administration/copy-configuration.sh new file mode 100644 index 0000000..355cd98 --- /dev/null +++ b/administration/copy-configuration.sh @@ -0,0 +1,5 @@ +#!/bin/bash +# Copies the configuration files +cd $(dirname $(readlink -f ${0}))/../; +cp -v .env.dist docker-symfony/.env; +cp -v ./application/phpunit.xml.dist ./application/phpunit.xml;