stepbystep:drupal

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
Next revision
Previous revision
stepbystep:drupal [2021/03/08 18:06]
giancarlo [Basic configuration]
stepbystep:drupal [2021/03/11 18:22] (current)
giancarlo
Line 6: Line 6:
   * [[stepbystep:baseservices|Base services]]   * [[stepbystep:baseservices|Base services]]
   * [[stepbystep:drupal|Drupal 9]]   * [[stepbystep:drupal|Drupal 9]]
 +  * [[stepbystep:archi1|Archipelago]]
 +  * [[stepbystep:maintenance|Maintenance]]
 </nav> </nav>
 ====== Drupal 9 ====== ====== Drupal 9 ======
Line 555: Line 557:
   - Installing react/promise (v2.8.0): Extracting archive   - Installing react/promise (v2.8.0): Extracting archive
 </code> </code>
 +=== More useful/required modules ===
 +<code bash>
 +**** facets
  
 +$ composer require 'drupal/facets:1.x-dev@dev'
 +  - Installing drupal/facets (dev-1.x a941c92)
 +
 +$ vendor/bin/drush en facets
 +Successfully enabled: facets
 +
 +**** field permissions
 +
 +$ composer require 'drupal/field_permissions'
 +  - Installing drupal/field_permissions (1.1.0)
 +$ vendor/bin/drush en field_permissions
 +Successfully enabled: field_permissions
 +
 +**** inline entity form
 +
 +$ composer require 'drupal/inline_entity_form:1.x-dev@dev'
 +  - Installing drupal/inline_entity_form (dev-1.x 52d28cc)
 +$ vendor/bin/drush en inline_entity_form
 +Successfully enabled: inline_entity_form
 +
 +**** pathauto
 +
 +$ composer require 'drupal/pathauto'
 +  - Installing drupal/ctools (3.4.0): Extracting archive
 +  - Installing drupal/pathauto (1.8.0): Extracting archive
 +$ vendor/bin/drush en pathauto
 +Successfully enabled: pathauto, ctools
 +
 +**** queue_ui
 +
 +$ composer require 'drupal/queue_ui'
 +  - Installing drupal/queue_ui (2.2.0)
 +$ vendor/bin/drush en queue_ui
 +Successfully enabled: queue_ui
 +
 +**** quick_node_clone
 +
 +$ composer require drupal/quick_node_clone
 +  - Installing drupal/quick_node_clone (1.13.0)
 +$ vendor/bin/drush en quick_node_clone
 +Successfully enabled: quick_node_clone
 +
 +**** schema metatag
 +
 +$ composer require 'drupal/schema_metatag'
 +  - Installing drupal/metatag (1.15.0): Extracting archive
 +  - Installing drupal/schema_metatag (2.1.0): Extracting archive
 +$ vendor/bin/drush en schema_metatag
 +Successfully enabled: schema_metatag, metatag
 +
 +**** Json-ld
 +
 +$ composer require 'ml/json-ld'
 +  - Installing ml/iri (1.1.4): Extracting archive
 +  - Installing ml/json-ld (1.2.0): Extracting archive
 +
 +**** ramsey uuid
 +
 +$ composer require ramsey/uuid
 +  - Installing ramsey/collection (1.1.3): Extracting archive
 +  - Installing brick/math (0.9.2): Extracting archive
 +  - Installing ramsey/uuid (4.1.1): Extracting archive
 +
 +**** swaggest json-schema
 +
 +$ composer require swaggest/json-schema
 +  - Installing swaggest/json-diff (v3.8.1): Extracting archive
 +  - Installing phplang/scope-exit (1.0.0): Extracting archive
 +  - Installing swaggest/json-schema (v0.12.31): Extracting archive
 +
 +**** drupal/google_api_client
 +
 +$ composer require drupal/google_api_client
 +  - Installing paragonie/random_compat (v9.99.100): Extracting archive
 +  - Installing paragonie/constant_time_encoding (v2.4.0): Extracting archive
 +  - Installing phpseclib/phpseclib (3.0.5): Extracting archive
 +  - Installing monolog/monolog (2.2.0): Extracting archive
 +  - Installing psr/cache (1.0.1): Extracting archive
 +  - Installing firebase/php-jwt (v5.2.1): Extracting archive
 +  - Installing google/auth (v1.15.0): Extracting archive
 +  - Installing google/apiclient-services (v0.163.0): Extracting archive
 +  - Installing google/apiclient (v2.9.1): Extracting archive
 +  - Installing drupal/google_api_client (3.0.0-rc5): Extracting archive
 +$ vendor/bin/drush en google_api_client
 +Successfully enabled: google_api_client
 +
 +****  mixnode/mixnode-warcreader-php
 +
 +$ composer require mixnode/mixnode-warcreader-php
 +  - Installing mixnode/mixnode-warcreader-php (0.0.6)
 +
 +**** config and context
 +
 +$ composer require drupal/config_inspector drupal/config_update drupal/config_update_ui drupal/context
 +  - Installing drupal/config_inspector (1.1.0): Extracting archive
 +  - Installing drupal/config_update (1.7.0): Extracting archive
 +  - Installing drupal/config_update_ui (1.7.0)
 +  - Installing drupal/context (4.0.0-beta5): Extracting archive
 +$ vendor/bin/drush en config_inspector config_update config_update_ui context context_ui
 +Successfully enabled: config_inspector, config_update, config_update_ui, context, context_ui
 +
 +**** drupal/moderated_content_bulk_publish
 +
 +$ composer require drupal/moderated_content_bulk_publish
 +  - Installing drupal/moderated_content_bulk_publish (2.0.2)
 +$ vendor/bin/drush en moderated_content_bulk_publish
 +Successfully enabled: moderated_content_bulk_publish
 +
 +***** frictionlessdata/datapackage
 +
 +WAIT package update
 +</code>
 +=== composer.json at the end of these steps ===
 +<code json>
 +{
 +    "name": "drupal/recommended-project",
 +    "description": "Project template for Drupal 9 projects with a relocated document root",
 +    "type": "project",
 +    "license": "GPL-2.0-or-later",
 +    "homepage": "https://www.drupal.org/project/drupal",
 +    "support": {
 +        "docs": "https://www.drupal.org/docs/user_guide/en/index.html",
 +        "chat": "https://www.drupal.org/node/314178"
 +    },
 +    "repositories": [
 +    {
 +      "type": "package",
 +      "package": {
 +        "name": "drupal/form_mode_manager",
 +        "type": "drupal-module",
 +        "version": "dev-8.x-2.x",
 +        "source": {
 +          "type": "git",
 +          "url": "https://git.drupalcode.org/project/form_mode_manager.git",
 +          "reference": "bb634122"
 +        }
 +      }
 +    },
 +        {
 +            "type": "composer",
 +            "url": "https://packages.drupal.org/8"
 +        }
 +    ],
 +    "require": {
 +        "composer/installers": "^1.9",
 +        "cweagans/composer-patches": "^1.7",
 +        "drupal/bamboo_twig": "^5.0@alpha",
 +        "drupal/bootstrap_barrio": "^5.1",
 +        "drupal/config_inspector": "^1.1",
 +        "drupal/config_update": "^1.7",
 +        "drupal/config_update_ui": "^1.7",
 +        "drupal/context": "^4.0@beta",
 +        "drupal/core-composer-scaffold": "^9.1",
 +        "drupal/core-project-message": "^9.1",
 +        "drupal/core-recommended": "^9.1",
 +        "drupal/display_field_copy": "^2.0",
 +        "drupal/ds": "^3.10",
 +        "drupal/facets": "1.x-dev@dev",
 +        "drupal/fancy_file_delete": "^2.0",
 +        "drupal/field_permissions": "^1.1",
 +        "drupal/file_mdm": "^2",
 +        "drupal/form_mode_manager": "dev-8.x-2.x",
 +        "drupal/google_api_client": "^3.0@RC",
 +        "drupal/imagemagick": "^3.1",
 +        "drupal/imce": "^2.3",
 +        "drupal/inline_entity_form": "1.x-dev@dev",
 +        "drupal/moderated_content_bulk_publish": "^2.0",
 +        "drupal/pathauto": "^1.8",
 +        "drupal/queue_ui": "^2.2",
 +        "drupal/quick_node_clone": "^1.13",
 +        "drupal/recaptcha_element": "^1.0",
 +        "drupal/restui": "^1.19",
 +        "drupal/s3fs": "3.x-dev@dev",
 +        "drupal/schema_metatag": "^2.1",
 +        "drupal/search_api": "^1.19",
 +        "drupal/search_api_attachments": "^1.0@beta",
 +        "drupal/search_api_autocomplete": "^1.4",
 +        "drupal/search_api_solr": "^4.1",
 +        "drupal/tokenuuid": "^1.4",
 +        "drupal/twig_field": "^1.1",
 +        "drupal/twig_tweak": "^3.0",
 +        "drupal/views_bootstrap": "^4.3",
 +        "drupal/webform": "^6",
 +        "drupal/webformnavigation": "^1.0@alpha",
 +        "drupal/workflow": "^1.4",
 +        "drush/drush": "^10",
 +        "mixnode/mixnode-warcreader-php": "^0.0.6",
 +        "ml/json-ld": "^1.2",
 +        "ramsey/uuid": "^4.1",
 +        "react/child-process": "^0.6.2",
 +        "react/event-loop": "^1.1",
 +        "react/promise": "^2.8",
 +        "swaggest/json-schema": "^0.12.31",
 +        "wikimedia/composer-merge-plugin": "^2.0"
 +    },
 +    "conflict": {
 +        "drupal/drupal": "*"
 +    },
 +    "minimum-stability": "dev",
 +    "prefer-stable": true,
 +    "config": {
 +        "sort-packages": true
 +    },
 +    "extra": {
 +        "merge-plugin": {
 +            "include": [
 +                "web/modules/contrib/webform/composer.libraries.json"
 +            ]
 +        },
 +        "drupal-scaffold": {
 +            "locations": {
 +                "web-root": "web/"
 +            }
 +        },
 +        "installer-paths": {
 +            "web/core": [
 +                "type:drupal-core"
 +            ],
 +            "web/libraries/{$name}": [
 +                "type:drupal-library"
 +            ],
 +            "web/modules/contrib/{$name}": [
 +                "type:drupal-module"
 +            ],
 +            "web/profiles/contrib/{$name}": [
 +                "type:drupal-profile"
 +            ],
 +            "web/themes/contrib/{$name}": [
 +                "type:drupal-theme"
 +            ],
 +            "drush/Commands/contrib/{$name}": [
 +                "type:drupal-drush"
 +            ],
 +            "web/modules/custom/{$name}": [
 +                "type:drupal-custom-module"
 +            ],
 +            "web/profiles/custom/{$name}": [
 +                "type:drupal-custom-profile"
 +            ],
 +            "web/themes/custom/{$name}": [
 +                "type:drupal-custom-theme"
 +            ]
 +        },
 +        "enable-patching": true,
 +        "patches": {
 +            "drupal/workflow": {
 +                "D9 readyness": "https://www.drupal.org/files/issues/2020-07-07/deprecated_entity_manager_workflowstorage_error-3157199-7.patch"
 +            },
 +            "drupal/form_mode_manager": {
 +                "Fix Form Mode title": "https://www.drupal.org/files/issues/2019-12-10/form_mode_manager-bundle-label-in-title-3100112-2-D8.patch",
 +                "D9 readyness": "https://www.drupal.org/files/issues/2020-10-30/form_mode_manager-drupal-9-compatibility-3164478-6.patch"
 +            },
 +            "drupal/role_theme_switcher": {
 +                "D9 readyness": "https://www.drupal.org/files/issues/2020-06-06/role_theme_switcher.1.x-dev.rector.patch"
 +            }
 +        }
 +    }
 +}
 +</code>
  • stepbystep/drupal.1615223211.txt.gz
  • Last modified: 2021/03/08 18:06
  • by giancarlo