Bachir Soussi Chiadmi 5 years ago
parent
commit
9309baa9c2
3 changed files with 49 additions and 4 deletions
  1. 1 0
      .gitignore
  2. 0 4
      composer.json
  3. 48 0
      readme.md

+ 1 - 0
.gitignore

@@ -0,0 +1 @@
+vendor

+ 0 - 4
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"

+ 48 - 0
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