Pregunta

I tried importing a configuration after installing Drupal 8 using the standard installation profile but was getting into errors related to the installation profile being already present.

I need a clean drupal slate with only the configuration and no content. Is it possible to do that?

¿Fue útil?

Solución

I found out we can do this by running the following drush command

drush site:install --existing-config

However you might encounter an error related to hook_install found in standard install profile. To mitigate that you would need to install this patch.

https://www.drupal.org/files/issues/2018-11-27/2982052-22.patch

Licenciado bajo: CC-BY-SA con atribución
No afiliado a drupal.stackexchange
scroll top