I ran into a lot of trouble trying to understand how to broadcast new domains or subdomains, so this begins a new approach where we serve the two sites as hostname.local/src and hostname.local/build. This initially worked quite well, and the src site seems to install properly, but the build site fails -- the error log implies the wp install command within the build directory is trying to use the wrong database, and I can't for the life of me figure out why or where it's coming from.
Additionally, the wp-config.php files in src and build may need to be centralized in one context-aware file in the /vagrant/wordpress-develop directory, because the build directory is I believe wiped when grunt gets run.
I ran into a lot of trouble trying to understand how to broadcast new domains or subdomains, so this begins a new approach where we serve the two sites as
hostname.local/src
andhostname.local/build
. This initially worked quite well, and thesrc
site seems to install properly, but thebuild
site fails -- the error log implies thewp install
command within thebuild
directory is trying to use the wrong database, and I can't for the life of me figure out why or where it's coming from.Additionally, the
wp-config.php
files insrc
andbuild
may need to be centralized in one context-aware file in the/vagrant/wordpress-develop
directory, because thebuild
directory is I believe wiped whengrunt
gets run.