Clone project to ../Winlight
- Download virtual box https://www.virtualbox.org/wiki/Downloads and install
- Download vagrant https://www.vagrantup.com/downloads.html and install
- cd Winlight
- ~ composer require laravel/homestead --dev
- ~ run ~ php vendor/bin/homestead make
in file Homestead.yml set configuration like this
ip: "192.168.10.10"memory: 2048cpus: 1hostname: winlightname: winlightprovider: virtualboxauthorize: ~/.ssh/id_rsa.pubkeys:
- ~/.ssh/id_rsafolders:
- map: "..path../Winlight/laravel-with-admin-lte"to: "/home/vagrant/laravel-with-admin-lte"sites:
- map: winlight.appto: "/home/vagrant/laravel-with-admin-lte/public"databases:
- winlight- open ~/etc/hosts
- then add to the last line
192.168.10.10 winlight.app
- cd Winlight
- ~ vagrant up
- cd laravel-with-admin-lte
- ~ composer update
เสร็จสิ้นการติดตั้ง Project ครับ
- Host: 192.168.10.10
- Username: homestead
- Password: secret
- Port: 3306