E
E
eternal_blue2020-08-31 22:17:10
Vagrant
eternal_blue, 2020-08-31 22:17:10

How to work with Homestead?

Hello, I decided to use laravel, but it says that in Laravel Homeastead everything is installed as needed, so I was seduced ... In general, the installation and configuration there is somehow fierce, can you please just explain how to add a new project (folder) and where shove it into this folder so that everything works ....
I'm not asking for some sort of expanded guide, just on the off site of Laravel there are some million settings and stuff that I don't need, where in general to shove folders and how to run it and that's it, thanks

Answer the question

In order to leave comments, you need to log in

1 answer(s)
A
Anton October, 2020-08-31
@Lyrium

Homestead is a customized Vagrant box, usually bundled with VirtualBox. There is a fresh Ubuntu with all the necessary software for PHP development with Laravel.
In fact, you just need to create directories in Windows, and in the Homestead.yaml configuration file specify the path in Windows and the path in Ubuntu, as well as the host to run. Roughly speaking, the project will run on a virtual linux (as well as in its natural environment, on prod, for example), and you can use Windows and run
them in a browser.
Considering what questions you ask, it’s better to deal with everything sequentially, what virtual machines are and how they work (VirtualBox if you use it), why Vagrant is needed and how to work with it. And also deal with Homestead.yaml, or rather, set it up and forget it once (throw ssh keys, learn how to write paths, and also add hosts to the hosts file), about it off. The documentation is written in detail and correctly, I won’t write better than there.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question