Skip to content
Snippets Groups Projects
Commit e9c5dc29 authored by Dominik Hebeler's avatar Dominik Hebeler
Browse files

Homestead Server sollte nun aufgesetzt werden, falls er nicht vorhanden ist

parent 9b9e9d80
No related branches found
No related tags found
1 merge request!3Master
...@@ -20,6 +20,27 @@ then ...@@ -20,6 +20,27 @@ then
cd ~/MetaGer cd ~/MetaGer
php artisan key:generate php artisan key:generate
fi fi
# Falls notwendig Homestead Server intialisieren: # Falls notwendig Homestead Server intialisieren:
# - cd ~/ if [ ! -d ~/Homestead ]
# - vagrant box add --provider virtualbox laravel/homestead then
\ No newline at end of file cd ~/
# Wir brauchen unseren öffentlichen ssh Schlüssel:
if [ ! -d .ssh ]
then
mkdir .ssh
chmod 700 .ssh
fi
if [ ! -f .ssh/id_rsa.pub ]
then
cd .ssh
ssh-keygen -t rsa -N "" -f id_rsa
cd ~/
fi
vagrant box add laravel/homestead
git clone https://github.com/laravel/homestead.git Homestead
cd Homestead/
bash init.sh
mv -f "$path/deploy/Homestead.yaml" .homestead/
vagrant up
echo "Your server is now running under http://localhost:8000"
fi
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment