I added a Site in Homestead/Vagrant/VirtualBox/Laravel 8.x
https://laravel.com/docs/8.x/homestead#adding-additional-sites
edited hosts file Win10
with composer 2.x command - first vagrant up vagrant ssh I have updated the composer after composer create-project laravel/laravel cars-paphos-city
homestead. - map: ../../Laravel/code/cars-paphos-city to: /home/vagrant/cars-paphos-city
- map: cars-paphos-city.test
to: /home/vagrant/cars-paphos-city
When startup Server, this works:
http://cars-paphos-city.test/public/
but the folder here in the local machine Windows 10 is empty... what to do?
D:\htdocs_xampp\Laravel\code\cars-paphos-city
vs
vagrant ssh
vagrant@homestead:/cars-paphos-city$ ls
app bootstrap composer.lock database phpunit.xml README.md routes storage vendor
artisan composer.json config package.json public resources server.php tests webpack.mix.js
vagrant@homestead:/cars-paphos-city$
When startup Homestead VM/Server, this works:
http://cars-paphos-city.test/public/
and when vagrant ssh - I see /home/vagrant/cars-paphos-city/ contents
but the folder here
../../Laravel/code/cars-paphos-city/
in the local machine Windows, 10 is empty... what to do?
can you reply, why exist folder in Vagrant/Homestead of Laravel 8.x - but Not exist locally in Windows 10...? Upon start vagrant up - domain working, but seeing nothing locally - Windows 10 - development folder???
Sign in to participate in this thread!
The Laravel portal for problem solving, knowledge sharing and community building.
The community