Skip to content

Drupal 8 Multi sites, with DDEV, and git-submodules

Notifications You must be signed in to change notification settings

Gizra/multi-repo

Repository files navigation

Requirements

Installation

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:

  1. https://multi-repo.ddev.site/ -- The default site, the one that holds all the "default" config
  2. 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

Troubleshooting

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

About

Drupal 8 Multi sites, with DDEV, and git-submodules

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published