fast_distribution
Fast Distribution is an example of an installation profile with a very fast setup process. It first installs the Minimal profile along with several modules, and then restores an SQL dump. This installation profile contains all Extra Block Types (EBT) modules and enabled Layout Builder:
Extra Block Types (EBT): Core
List of distributives based on Fast Distribution:
EPT Demo
Steps to install Fast Distribution:
Download Fast Distribution archive, put files on your server and run:
composer install
Install distribution as usuall Drupal site:
3.7. Running the Interactive Installer
1.4. Concept: Distributions
What are the pros and cons of comparing standard Drupal profiles?
Pros
- It works faster, you can install whatever number of modules in few minutes, usually 1 minute of installation/small dump restoring.
-
It will be consistent if you store all vendor files in Git. It allows to create Premium Drupal themes (ThemeForest), Out of the box solutions based on Drupal (e-commerce, huge company portals, Tech Docs sites, Resources/Media sites). Of course you can create Standard Drupal profile with recipes, configs, settings, etc. But with Fast Distribution, you just create a dump from existing site and use it.
-
You install Fast Distribution with existing content, so you don't need to think about adding demo content in Distribution.
Cons
- Standard Drupal profiles can be developed by many programmers, Fast Distribution is hard to maintain by few devs. It's complicated to sync SQL dump between different site installations. It's almost impossible to resolve git conflict in SQL dump, because Drupal stores configs in serialized arrays
-
You must create a snapshot from your existing site with Fast profile. For this you will need to add Fast profile in your existing site first and switch installation profile on your site, before creating SQL Dump.
https://www.drupal.org/project/drupal/issues/2677722
Here is a module to do this:
https://www.drupal.org/project/profile_switcher -
Fast Distribution creates langauges on new site, which were on your existing site. It's impossible to add new languages during installation proccess with Fast Distribution. But you can easily to add a new Language after installation:
https://www.drupal.org/docs/administering-a-drupal-site/multilingual-gui...
Check out README in proflies/fast/README.md with steps how to create a new distributive from Fast Distribution.