Reputation: 3
I am trying to set up laravel homestead.
But after the following the instructions, still not able to set up.
When I run the bash init.sh from Homestead directory, it is not creating a homestead.yaml file.
I am on a Mac and I can see homestead.yaml is in the src/stubs folder but not in /Homestead folder even though after the running the bash init.sh is providing the success message saying "do you want to overwrite ..yaml" followed by "Homestead initialised". But still I don't see the yaml file in the homestead folder in my Mac.
My question is
I am beginner to coding. So pls let me know if I am looking at the wrong places.
Appreciate your help!
Upvotes: 0
Views: 1297
Reputation: 515
init.sh
will place Homestead.yaml
in a hidden directory under your home directory /Users/username/.homestead/
not in /Homestead
. Now To answer your questions:
init.sh
will copy Homestead.yaml
to .homestead
directory along with after.sh and aliases.init.sh
should do that for you..homestead
directory and placed the Homestead.yaml
file in it, but when you run it again, It will find that there's a current Homestead.yaml
and asks if it should overwrite it or not. Upvotes: 2