I’m reading “Jump Start PHP Environment”. In chapter 4 I’m having trouble setting up the PHP environment. I have homestead-improve_master set up . I have VirtualBox created. I have GIT loaded. I get into homestead_improve-master file then it wants me to run “folderfix.sh” How do you submit this command? What to I need to to to run “vagrant up”? Basically I need help with chapter 4. I’m on a Mac using Sierra 10.12.5
I’m not sure what the requirements for that book is, but if you are on Mac, open up the terminal and browse to the directory where folderfix.sh is stored and run
sh folderfix.sh
And that should run the shell file you have there. Don’t quote me on this if it doesn’t work. I don’t generally use Vagrant. Maybe someone with more experience can help you on this subject.
Thanks spaceshltrooper for your suggestion. However, when I submitted it nothing was returned. I tried different version of submitting it. I received error messages. If it was successful I should have received some type of message that all was created. Nothing. Thanks again Ross B.
Hmm, well that’s all I currently can do for you. I have never used Vagrant, but I have used Mac and Linux. Maybe someone with more experience with Vagrant can help you.
I wonder if @swader is around…
Yup, am here.
@rvman1949 you run the command bin/folderfix.sh from the root of the project. So you cd into the folder (homestead_improved-master), then just run the command. I hope you’re in the terminal, if not, launch the Terminal app and then cd into the folder, then run the command. That’s about it.
The command won’t really give you any output as it doesn’t really do much, just replaces a string in the default configuration file, but I’ll change that and make it output something, you’re right, it could be more verbose. But yeah, don’t run it from withing the bin folder, but from the root folder of the project and then with bin/folderfix.sh.
This topic was automatically closed 91 days after the last reply. New replies are no longer allowed.