Let's create your first project by making a new folder in your "users" directory. You now need to initialise your box by running bash init.sh if you're on a bash terminal or init.bat if you're running Command Prompt or Powershell. Once cloned, you can cd into your directory cd ~/Homestead and checkout the release version git checkout release. įirst, you need to clone the Homestead repository into your user folder. You don't need to go over to Laravel for this part, but if you would like to, then I've left a link for you to follow. You can use it with any PHP project and you're not just limited to Laravel projects. Installing and using Homestead Homestead is a Vagrant box that helps us create a PHP development environment. Once finished, Vagrant will ask you to restart which you will do. Again, it's fairly straightforward and you can go ahead and stick with the defaults. If you know your version, then select the correct one and once downloaded, you can begin to install. If you don't know your version, you can take a look at this tutorial to learn more. You will have a choice between 32 and 64-bit versions of your OS. Head on over to and download the latest Vagrant version for your machine. Now you've installed VirtualBox, you can go ahead and install Vagrant. You can create your very own Vagrant boxes, or use a vast range of other Vagrant boxes. Installing Vagrant Vagrant can help us create and manage your machines through the command line. Once installed, you will be asked if you would like to open VirtualBox, you can untick and click finish since you won't be needing the GUI for now. Once downloaded, you can go ahead and click next and finish the dialogue setup. Head over to and download the latest version that's suitable for your machine. Installing VirtualBox VirtualBox helps us create and manage virtual machines which allows us to create development environments for PHP.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |