For when you just need a simple dev site
This template will allow you to create a WordPress dev environment using only vvv-custom.yml
.
The supported environments are:
- A single site
- A subdomain multisite
- A subdirectory multisite
my-site:
repo: https://github.com/Varying-Vagrant-Vagrants/custom-site-template
hosts:
- my-site.test
Setting | Value |
---|---|
Domain | my-site.test |
Site Title | my-site.test |
DB Name | my-site |
Site Type | Single |
WP Version | Latest |
my-site:
repo: https://github.com/Varying-Vagrant-Vagrants/custom-site-template
hosts:
- foo.test
custom:
wp_version: nightly
Setting | Value |
---|---|
Domain | foo.test |
Site Title | foo.test |
DB Name | my-site |
Site Type | Single |
WP Version | Nightly |
my-site:
repo: https://github.com/Varying-Vagrant-Vagrants/custom-site-template
hosts:
- multisite.test
- site1.multisite.test
- site2.multisite.test
custom:
wp_type: subdomain
Setting | Value |
---|---|
Domain | multisite.test |
Site Title | multisite.test |
DB Name | my-site |
Site Type | Subdomain Multisite |
WP Version | Nightly |
hosts:
- foo.test
- bar.test
- baz.test
Defines the domains and hosts for VVV to listen on. The first domain in this list is your sites primary domain.
custom:
site_title: My Awesome Dev Site
Defines the site title to be set upon installing WordPress.
custom:
wp_version: 4.6.4
Defines the WordPress version you wish to install. Valid values are:
- nightly
- latest
- a version number
Older versions of WordPress will not run on PHP7, see this page on how to change PHP version per site.
custom:
wp_type: single
Defines the type of install you are creating. Valid values are:
- single
- subdomain
- subdirectory
custom:
db_name: super_secet_db_name
Defines the DB name for the installation.