ChrisF79's avatar

Homestead, serve, separate Linux box/VM? How do you work?

I have always used Homestead but I'm getting a bit tired of how slow it is. I'm tempted to just create an Ubuntu VM with Parallels and use that as my dev environment.

What do you use to serve?

0 likes
5 replies
Cronix's avatar

I have 11 projects on my current homestead box using various services like redis. I don't encounter any "slowness," except for the overhead that laravel debugbar introduces that I use on every project, which is quite a bit. Are you using any packages like that which are gathering extra data, running explain on queries, etc?

Ty's avatar

I use WAMP for PHP and MySQL and then in my computers document folder is where I create my projects and just run the project in my browser using php artisan serve and 127.0.0.1:8000 I'm sure everyone has there own way though.

ChrisF79's avatar

No, not at all. But hitting refresh on a page just takes longer than it should. When working on the front-end, it gets a bit tedious.

Cronix's avatar

Yeah, all VM's will suffer that problem just by their nature. I prefer that to polluting my OS with all I need to maintain the various projects I manage though (various php versions, mysql versions, etc.)

I don't think you'll gain much by using a different VM. It's still a VM. If you just work on one project at a time, I'd just use the native OS with a real webserver, etc. Under the hood, homestead is an ubuntu VM.

You didn't mention your host OS....are you Mac/Windows? How much ram do you have?

ChrisF79's avatar

@CRONIX - Ah, I'm a Mac guy and I have 16GB of Ram. I did think about that but I just figured something like Parallels would be faster than VirtualBox.

Please or to participate in this conversation.