Skip to content

Instantly share code, notes, and snippets.

@vkechagias
Last active June 14, 2017 13:22
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save vkechagias/45c967897cfdc40b6f38033f852ad00e to your computer and use it in GitHub Desktop.
Save vkechagias/45c967897cfdc40b6f38033f852ad00e to your computer and use it in GitHub Desktop.
Drupal installation profile generation
01. Composer drupal generator - https://github.com/drupal-composer/drupal-project
02. composer require all modules of original installation
03. Add premium theme to composer installation
04. Add sites/default/files files to composer installation
05. Import DB and clear cache
06. install install_profile_generator module with composer
07. install default_content module with composer
08. install file_entity module with composer
09. enable install_profile_generator, default_content, rest and file_entity modules
10. drush cr and cron
11. Apply latest patch of https://www.drupal.org/node/2788777
12. drush install-profile-generate --name={{profile_machine_name}}
13. drush config-export
14. Edit installation profile info and add entity UUIDs to export/import (see DB entries)
15. drush dcem {{profile_machine_name}}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment