readme.md 1.2 KB

Figli Drupal 10 Starterkit Profile

install

install drupal with composer

cd public_html
composer create-project drupal/recommended-project:^10.0 .

clone this profile into profiles folder

cd profiles
git clone -o figli https://figureslibres.io/gogs/bachir/drupal-starterkit-profile.git

include the profile's composer file to the main drupal's composer file

install composer-merge-plugin

composer require wikimedia/composer-merge-plugin

then in main drupal's composer.js file add this in extra

"extra": {
  ...
  "merge-plugin": {
      "include": [
          "web/profiles/drupal-starterkit-profile/composer.json"
      ],
      "recurse": true,
      "replace": false,
      "merge-extra": true
  }
  ...
}

install the profile's merged dependencies with composer

cd ../
composer update

sites/default setup

mkdir -p sites/default/files
cp sites/default/default.settings.php sites/default/settings.php
chgrp -R www-data sites/default/files
chgrp -R www-data sites/default/settings.php
chmod g+r sites/default/files
chmod g+r sites/default/settings.php

run drupal install as usual

by accessing your site and choosing the figli_starter_kit profile