diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..22d0d82 --- /dev/null +++ b/.gitignore @@ -0,0 +1 @@ +vendor diff --git a/composer.json b/composer.json index 3b073c9..e3f46c4 100644 --- a/composer.json +++ b/composer.json @@ -55,10 +55,6 @@ "drupal/adminimal_theme": "^1.3" }, "repositories": [ - { - "type": "composer", - "url": "https://figureslibres.io/gogs" - }, { "type": "composer", "url": "https://packages.drupal.org/8" diff --git a/readme.md b/readme.md index 3e62558..a949798 100644 --- a/readme.md +++ b/readme.md @@ -1 +1,49 @@ # Figli Drupal 8 Starterkit Profile + + +## install + +### install drupal with composer +``` +cd public_html +composer create-project drupal/drupal . +``` + +### clone this profile into profiles folder +``` +cd profiles +git clone -o figli https://figureslibres.io/gogs/bachir/d8-starterkit-profile.git +``` + +### include the profile's composer file to the main drupal's composer file +``` +"merge-plugin": { + "include": [ + "core/composer.json", + "profiles/d8-starterkit-profile/composer.json" + ], + "recurse": true, + "replace": false, + "merge-extra": false +} +``` +become +``` +"merge-plugin": { + "include": [ + "core/composer.json", + ], + "recurse": true, + "replace": false, + "merge-extra": false +} +``` + +### install dependencies with composer +``` +cd ../ +composer update +``` + +### run drupal install as usual +by accessing your site