Problem/Motivation

When installing other distributions like Drupal Core or Commerce Kickstart, you run into different problems for each.

With Drupal Core, the installer mostly works, but at the end of the site:install, Drush is re-adding the database stanza to the settings.php after the nix include, which breaks it.

This is already solved for the CMS installer (by creating a temp copy of the original settings.php before the install, and copying it over settings.php after the install). Make this work with other installers.

For Commerce Kickstart, Drush does not have a binary in vendor/bin -- the Kickstart profile is setting bin/ as the location for vendor binaries instead.

Steps to reproduce

Proposed resolution

Improve the installer to handle specific issues around different starting points.

Improve the AI skill to provide assistance installing different Drupal distributions.

Remaining tasks

User interface changes

API changes

Data model changes

Comments

freelock created an issue. See original summary.

  • freelock committed fc20462a on 1.0.x
    feat: #3575473 Add support for installing other distributions - Drupal...
freelock’s picture

Status: Active » Needs review

For Kickstart, I've added {project_root}/bin to the path, so drush is available -- Kickstart changes the bin path from vendor/bin/ to just bin/. It also needed a composer update to pull in some dependencies from drupal.

For Drupal core, I've added a step to install drush, and fix up the settings file after the installation is complete, the same as is done for Drupal CMS.

I've also added a drush cr to both -- without that, the first launch was throwing a whitescreen.

These are now working when run by the agent, and should work standalone, but leaving open until we've fully tested installing without an agent.

  • freelock committed e9335310 on 1.0.x
    feat: #3575473 Add support for installing other distributions - Drupal...
freelock’s picture

Split out "start-demo" into separate scripts for downloading the starting distro, fetching a recipe or other install profile, and doing the actual installation.

freelock’s picture

Status: Needs review » Fixed

This is done.

Now that this issue is closed, review the contribution record.

As a contributor, attribute any organization that helped you, or if you volunteered your own time.

Maintainers, credit people who helped resolve this issue.

Status: Fixed » Closed (fixed)

Automatically closed - issue fixed for 2 weeks with no activity.