-
Notifications
You must be signed in to change notification settings - Fork 16
/
install_homestead.sh
executable file
·26 lines (23 loc) · 1.09 KB
/
install_homestead.sh
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
#!/bin/bash
git submodule update --init --recursive
cp Homestead.yaml homestead/Homestead.yaml
cd homestead
git pull origin main
vagrant box remove laravel/homestead --all
vagrant box add laravel/homestead -c
vagrant up
vagrant ssh -c 'cd evidentia; composer install; npm install; npx mix; php artisan evidentia:start vagrant; php artisan evidentia:instance'
echo ""
echo "WELCOME TO"
echo ".########.##.....##.####.########..########.##....##.########.####....###...";
echo ".##.......##.....##..##..##.....##.##.......###...##....##.....##....##.##..";
echo ".##.......##.....##..##..##.....##.##.......####..##....##.....##...##...##.";
echo ".######...##.....##..##..##.....##.######...##.##.##....##.....##..##.....##";
echo ".##........##...##...##..##.....##.##.......##..####....##.....##..#########";
echo ".##.........##.##....##..##.....##.##.......##...###....##.....##..##.....##";
echo ".########....###....####.########..########.##....##....##....####.##.....##";
echo ""
echo "Open in a new browser:"
echo "http://192.168.10.10"
echo ""
echo "The installation has been completed successfully. Enjoy!"