From 5a9f31ddda83a74e551f319ee78da7b4488bfcb4 Mon Sep 17 00:00:00 2001 From: Dominik Pfennig <dominik@suma-ev.de> Date: Tue, 3 May 2016 15:48:44 +0200 Subject: [PATCH] Bugfix --- deploy/checkServerStatus.sh | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/deploy/checkServerStatus.sh b/deploy/checkServerStatus.sh index a81236624..e7ec2593e 100755 --- a/deploy/checkServerStatus.sh +++ b/deploy/checkServerStatus.sh @@ -15,7 +15,7 @@ then cd ~/MetaGer cp .env.example .env fi -if [ $(grep "SomeRandomString" .env) ] +if [ $(grep "SomeRandomString" ~/MetaGer/.env) ] then cd ~/MetaGer php artisan key:generate @@ -40,7 +40,8 @@ then git clone https://github.com/laravel/homestead.git Homestead cd Homestead/ bash init.sh - cp -f "$path/deploy/Homestead.yaml" .homestead/Homestead.yaml + cd ~/ + cp -f "$path/deploy/Homestead.yaml" .homestead/ vagrant up echo "Your server is now running under http://localhost:8000" fi -- GitLab