![]() Even small virtual machines take up a proportionately large amount of system resources.Can provision a portion of your system resources, ensuring that your application doesn't use anything in excess.Easy to get started with a handful of commands.Creates isolation between your local hardware and software, and what's required by your application.If you're unfamiliar, Vagrant is an application that helps you provision and manage virtual machines, capable of replicating the full stack of software required by your application. Homestead is an official Vagrant box released by Laravel to help you get a local, containerized environment set up fast. The best tutorials I've found for this method are as follows for each OS:Īfter running through the installation and setup process, all you'll have to do is ensure your Laravel app is under the correct path that you set in your web server config, and you should be good to go! Vagrant and Homestead You'll be installing Apache, MySQL, and PHP, setting up vhosts rules pointing to a local domain name, and finally enabling the PHP extensions that your application requires. Getting started can take a bit of time, but it's a pretty straightforward process. Hardware differences between local and production environments can potentially cause deployment issuesĭespite the negatives, this is still a solid way of creating a local Laravel development environment.It can be difficult to get multiple sites running at the same time. ![]()
0 Comments
Leave a Reply. |