phenaproxima / starshot-prototype

Prototype of a new kind of Drupal, based on recipes and loaded up with contrib's best modules and themes. Not a fork or a distribution.
https://drupal.org/starshot
104 stars 36 forks source link

Create a self-uninstalling installation profile to add some flexibility #104

Closed phenaproxima closed 2 weeks ago

phenaproxima commented 2 weeks ago

Given recent advances in Project Browser, we want to be able to start people off at a place where they can choose more recipes after installing Drupal for real. For that, we're going to need an installation profile; recipes don't really let us do too much affecting the installer.

Profiles can affect the installation process and then immediately uninstall themselves, so let's create a profile called starshot_installer which sets up Drupal, configures Package Manager (automatically if possible), applies the Starshot recipes, then vanishes into the ether and drops you off at the project browser, where a set of curated recipes awaits you.

For the moment, this PR doesn't change what ddev install and composer create-project do; both of those will still behave, externally, the same as they previously did (installing on SQLite and whatnot). We'll want to improve that in follow-ups, but it'll take some thinking through because we want to make the installation is as quick as possible, with as few steps as we can possibly manage.