From dbee982d921611589667bf4cd616cdd6768112c8 Mon Sep 17 00:00:00 2001 From: Dominik Hebeler Date: Wed, 29 May 2019 08:07:56 +0200 Subject: [PATCH] fixed deployment for metager3 --- build.sh | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) diff --git a/build.sh b/build.sh index 68cf4adb..2f3ec74a 100644 --- a/build.sh +++ b/build.sh @@ -25,4 +25,11 @@ chmod -R 777 bootstrap/cache npm install npm run production php artisan migrate --force -php artisan db:seed --force \ No newline at end of file +php artisan db:seed --force +php artisan requests:gather +if [ -f ~/MetaGer/artisan ]; then php ~/MetaGer/artisan down;fi +cd ~/ +while [ -d ~/MetaGer ]; do rm -rf ~/MetaGer;done +mv MetaGer_neu MetaGer +sudo pkill --signal SIGHUP supervisord +php ~/MetaGer/artisan up \ No newline at end of file -- GitLab