bach 5a0245b936 update drush version | 10 months ago | |
---|---|---|
config | 1 year ago | |
.gitignore | 6 years ago | |
LICENSE.txt | 6 years ago | |
composer.json | 10 months ago | |
figli_starter_kit.info.yml | 1 year ago | |
figli_starter_kit.install | 6 years ago | |
figli_starter_kit.profile | 6 years ago | |
readme.md | 1 year ago |
cd public_html
composer create-project drupal/recommended-project:^10.0 .
cd profiles
git clone -o figli https://figureslibres.io/gogs/bachir/drupal-starterkit-profile.git
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
}
...
}
cd ../
composer update
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
by accessing your site and choosing the figli_starter_kit profile