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.
Comments
Comment #3
freelockFor 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.
Comment #5
freelockSplit out "start-demo" into separate scripts for downloading the starting distro, fetching a recipe or other install profile, and doing the actual installation.
Comment #6
freelockThis is done.