Skip to content

Commit

Permalink
Update README.md
Browse files Browse the repository at this point in the history
  • Loading branch information
ioannis-ampatzis authored May 10, 2021
1 parent bba7e35 commit ab0a47f
Showing 1 changed file with 37 additions and 0 deletions.
37 changes: 37 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -40,3 +40,40 @@ Add the following in the composer.json's "repositories" section:
}

Finally: `composer require ioannis-ampatzis/dmt_structure_export:7.x-1.x-dev`

Sample of final main composer.json file, for a D7 NextEuropa website:

{
"name": "[WEBSITE_NAME]",
"description": "[WEBSITE_DESCRIPTION]",
"type": "project",
"keywords": ["fpfis", "nexteuropa", "subsite"],
"homepage": "[WEBSITE_URL]",
"require": {
"ec-europa/toolkit": "3.*",
"ioannis-ampatzis/dmt_structure_export": "7.x-1.x-dev"
},
"support": {
"email": "[WEBSITE_EMAIL]",
"source": "https://github.com/ec-europa/[WEBSITE_REPOSITORY]"
},
"scripts": {
"post-install-cmd": "@toolkit-install",
"post-update-cmd": "@toolkit-install",
"toolkit-install": "PROJECT=$(pwd) composer run-script toolkit-install -d ./vendor/ec-europa/toolkit"
},
"require": {
"ioannis-ampatzis/dmt_structure_export": "dev-7.x-1.x"
},
"repositories": {
"dmt_migrate":{
"type": "vcs",
"url": "https://github.com/ioannis-ampatzis/dmt_structure_export"
}
},
"extra": {
"installer-paths": {
"drush/Commands/{$name}": ["type:drupal-drush"]
}
}
}

0 comments on commit ab0a47f

Please sign in to comment.