Reputation: 695
when I input "test.app” in the browser ,the browser can not connect to it. In the installation of the homestead,I failed to install it with the command
vagrant box add laravel/homestead
or
composer global require"laravel/homestead=~2.0"
I used this command
cd ~git clone https://github.com/laravel/homestead.git Homestead
So I am not sure if I have succeed to fix the homestead
Another question is that my Vagrantfile's floders can't sync like it should be.
Upvotes: 1
Views: 1336
Reputation: 163978
You need to make few steps to make it work:
Make sure vagrant and VirtualBox are installed on your computer.
Did you run bash init.sh
? It will create .yaml file for you.
Edit .yaml file like in manual (don't forget to generate ssh key and setup folders).
Put this into your /etc/hosts
file: 192.168.10.10 test.app
run VM with running vagrant up
command in terminal
You'll see Laravel 5 start page, if you made everything like in the manual: https://laravel.com/docs/5.1/homestead#installation-and-setup
Upvotes: 1