
上QQ阅读APP看书,第一时间看更新
How to do it...
We will follow these steps to download a distribution to use as a customized version of Drupal 8:
- Download a distribution from Drupal.org. For this recipe, let's use the Demo Framework provided by Acquia at https://www.drupal.org/project/df.
- Select the recommended version for the 8.x branch.
- Extract the folder contents to your web server's document root--you'll note that there is Drupal core; within the profiles folder, there's the installation profile's folder--df.
- Due to current Drupal.org packaging limitations, there is a manual step that you will need to run in order to install additional dependencies. Run the following command using your terminal inside of the extracted contents:
$ composer require "commerceguys/intl: ~0.7" "commerceguys/addressing: ~1.0" "commerceguys/zone: ~1.0" "embed/embed: ~2.2
- Install Drupal as you would normally, by navigating to your Drupal site in your browser.
- Follow the installation instructions in the site to install the distribution.