bach 47a87c5319 added some config : editeur role, static, wysiwg, droits, etc | преди 8 месеца | |
---|---|---|
config | преди 8 месеца | |
.gitignore | преди 6 години | |
LICENSE.txt | преди 6 години | |
composer.json | преди 8 месеца | |
figli_starter_kit.info.yml | преди 1 година | |
figli_starter_kit.install | преди 6 години | |
figli_starter_kit.profile | преди 6 години | |
readme.md | преди 1 година |
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