Multisite in Drupal 8

Preface

  1. Setting up default main/root Drupal site- “domain.com”
  2. Setting a sub-site “staging.domain.com”
    • Prerequisites
      • Creating a staging folder
      • Creating settings.php
      • Creating a sites.php file
  3. Adding a virtual host entry for both main and staging site
    • Adding virtual host entries
    • Enable the site
    • Add entry in /etc/hosts file
  4. Restart Apache
  5. Setting up “staging.domain.com” site

Latest release of Bootstrap theme integration- Drupal 8 Basic steps

Basic Setup Requirements

  1. Get Drupal bootstrap module- https://www.drupal.org/project/bootstrap
  2. Copy the theme folder under “Starterkit” folder to create your own subtheme i.e. you can place this starterkit theme unders themes/custom folder.
  3. Rename all the instances of THEMENAME to your own sub theme name
  4. Make relevant changes in info.yml file.
  5. The default setup use CDN and hence will pull the required JS and CSS through CDN. This is defined under Bootstrap theme settings.

Installing Composer Globally- Drupal 8

Composer is a tool for dependency management in PHP. It allows you to declare the libraries your project depends on and it will manage (install/update) them for you.