From 46313cc290e7c9354e4b62857b814f01fd22034f Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Torsten=20L=C3=BCcke?= Date: Mon, 19 Apr 2021 11:11:06 +0200 Subject: [PATCH] =?UTF-8?q?Die=20Installation=20der=20PHP-Abh=C3=A4ngigkei?= =?UTF-8?q?ten=20hinzugef=C3=BCgt.?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- deploy.sh | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/deploy.sh b/deploy.sh index 3840ccd..aba9439 100644 --- a/deploy.sh +++ b/deploy.sh @@ -1,5 +1,11 @@ #!/usr/bin/env bash +install_api_dependence() { + cd api/ || exit 2 + composer install + cd .. +} + build_ui() { cd ui/ || exit 2 npm run build @@ -23,4 +29,4 @@ composer_run() { docker-compose up -d } -build_ui && test_unit && composer_run && test_api \ No newline at end of file +install_api_dependence && build_ui && test_unit && composer_run && test_api \ No newline at end of file