Support the ongoing development of Laravel.io →
Configuration

Every time a new site is added to the Homestead.yaml we are supposed to provision the VM

homestead up --provision

The thing is, this drop and create every single database (and leave them empty). After that I have to re-migrate and re-seed all the projects in my VM...

Any tip to achieve this?

Last updated 2 years ago.
0
Last updated 2 years ago.
0

iWader said:

Theres the serve script

http://laravel.com/docs/4.2/homestead#daily-usage

Yep.. But that would work only once, gotta repeat every time I want to run an app

Last updated 2 years ago.
0

Add to your Homestead.yaml and use the serve script, next time you reboot the homestead vm it will automatically load the sites in the Homestead.yaml file.

I don't think you need to re-provision every time you want to add a new site. Provisioning re-installs everything on the box, not just the sites, which seems a little counter productive to do every time you just want to add a new site.

I've not used homestead 2.0 yet, but in 1.0 you didn't need to re-provision every time to add a new site, I don't see why that would be changed in 2.0

Last updated 2 years ago.
0

Sign in to participate in this thread!

Eventy

Your banner here too?

Moderators

We'd like to thank these amazing companies for supporting us

Your logo here?

Laravel.io

The Laravel portal for problem solving, knowledge sharing and community building.

© 2025 Laravel.io - All rights reserved.