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 trialsarah al jindan
950 PointsCan't seem to find the homestead.yaml file anywhere.. I'm running on os x el capitan.
I've followed the steps and tried to find the answer on stackoverflow but couldn't find a suitable answer. It said somewhere that I should run the command homestead init to initialise the config and .yaml but my terminal doesn't recognise the command.
3 Answers
Corey Cramer
9,453 PointsAshish is correct, however Homestead / Valet is a great way to get any Laravel installed and playing with it. Check out the Laravel documentation
You may install Homestead by simply cloning the repository. Consider cloning
the repository into a Homestead folder within your "home" directory, as the
Homestead box will serve as the host to all of your Laravel projects:
cd ~
git clone https://github.com/laravel/homestead.git Homestead
Once you have cloned the Homestead repository, run the
bash init.sh command from the Homestead directory to create the
Homestead.yaml configuration file. The Homestead.yaml file will be
placed in the ~/.homestead hidden directory:
// Mac / Linux...
bash init.sh
// Windows...
init.bat
Edit: Fixed formatting so you don't need to scroll to follow the instruction.
Pablo Duran
15,052 PointsHi,
I found the "Homestead.yaml" inside the following directories:
Homestead/src/stubs/Homestead.yaml
I hope you find this helpful.
Best Regards.
Bruno Monteiro
4,230 PointsThanks mate, i really apreciated it :)
Bruno Monteiro
4,230 PointsSince the time you discovered the file, is location was changed on recent versions... The file now lies on "Homestead/Resources/Homestead.yaml".
Ashish Mehra
269 PointsAshish Mehra
269 Pointssarah al jindan Laravel 4 is too old version to learn.I skip laravel from here because of it. :-(