git clone --recurse-submodules [email protected]:Gizra/multi-repo.git
cd multi-repo
ddev composer install
cp .ddev/config.local.yaml.example .ddev/config.local.yaml
ddev restart
Every time you want to re-install:
ddev restart
Notice that in the end of the ddev restart
we get a one time admin link to login, to two sites:
- https://multi-repo.ddev.site/ -- The default site, the one that holds all the "default" config
- https://basic.ddev.site/ -- A single site, fetched by git-submodule, with config overrides done by config split. It's hosted in https://github.com/Gizra/multi-repo-basic
If you had a previous installation of this repo, and have an error similar to composer [install] failed, composer command failed: failed to load any docker-compose.*y*l files in /XXX/multi-repo/.ddev: err=<nil>. stderr=
then execute the following, and re-try installation steps.
ddev rm --unlist