Welcome to the Treehouse Community

Want to collaborate on code errors? Have bugs you need feedback on? Looking for an extra set of eyes on your latest project? Get support with fellow developers, designers, and programmers of all backgrounds and skill levels here with the Treehouse Community! While you're at it, check out some resources Treehouse students have shared here.

Looking to learn something new?

Treehouse offers a seven day free trial for new students. Get access to thousands of hours of content and join thousands of Treehouse students and alumni in the community today.

Start your free trial

PHP Laravel 4 Basics Getting Started with Laravel Installing Laravel Homestead

doesn't appear homestead.yaml

I have cloned the homestead repository then I run the command: bash init.sh and the console send this message: Homestead initialized! I refresh the root folder in sublime but doesn't appear.

4 Answers

Try going through into something like src then stubs to find it.

if you are using laravel 5.2 it is in the /.homestead folder

For 5.2 this is the correct answer. To expand: C:\Users\placeyourname.homestead

I needed also some minutes to find it but if you have OS X this is some ways how you can open the file in the terminal:

  1. When you are on the home folder in terminal just type cd .homestead and you will be in the folder, after you can type ls and the homestead.yaml will be there which you can open it with your text editor

  2. This is what I did, i ran the following code in the terminal:

defaults write com.apple.finder AppleShowAllFiles YES
  • after you ran the code just go to finder icon press option key + right click and than the relaunch button will appear, after you can just surf with finder to your file and open the homestead.yaml
  • to hide again all the hidden files use the code:
defaults write com.apple.finder AppleShowAllFiles YES

But nothing will work if you didn't run the bash init.sh. Hope this ones will help you, at least for me this is how it worked :)

Hi,

I found the "Homestead.yaml" inside the following directories:

Homestead/src/stubs/Homestead.yaml

I hope you find this helpful.

Best Regards.