VVV
VVV copied to clipboard
Retire Custom Dashboard Provisioning
Right now, there's a special provisioner for the dashboard, with config values to customize it. I believe this is unnecessary, and I'd like to replace it with the following:
- always provision the official dashboard
- a custom dashboard can just be another site and use the same mechanism, except without the WP install bit, an adjusted nginx config, custom hostname, and some PHP in the
public_html
folder. No reason it couldn't be something likedashboard.test
- a config option to change the dashboard URL so the user gets redirected to
dashboard.test
or wherever on demand
This greatly simplifies the whole process of creating a dashboard, reduces the needed documentation greatly, and makes it possible to have multiple dashboards at once.
Would you do a phase out of the dashboard? Still allowing a custom dashboard to be provisioned with the dashboard setting, but displaying a warning to the user that doing this is deprecated?
No we'd just provison the official dashboard and give it a proper site provisioner script like the site templates. I'd even argue to move it out of a synced folder. People can set up custom dashboards the same way they set up other sites. If the dashboard URL option is set in vvv-custom.yml
, redirect the user to that URL
So maybe the idea is to convert https://github.com/Varying-Vagrant-Vagrants/VVV/blob/develop/provision/provision-dashboard.sh as vvv-utilities?
GitHub
An open source Vagrant configuration for developing with WordPress - Varying-Vagrant-Vagrants/VVV
Not really, we'd still provision it the same way, we'd just remove all the options to configure it. Possibly run a provision.sh
if it's there.
Then, if people want a custom dashboard, there's nothing stopping them creating a dashboard.test
site and rolling their own or running a fork