- Install Drupal using composer:
composer create-project drupal-composer/drupal-project:8.x-dev MY_PROJECT --no-interaction
cd MY_PROJECT
- Edit the
composer.json
file. The "repositories" section should look like:
"repositories": {
"drupal": {
"type": "composer",
"url": "https://packages.drupal.org/8"
},
"edge": {
"type": "vcs",
"url": "git@github.com:arlina-espinoza/apigee-edge-drupal.git"
},
"client": {
"type": "vcs",
"url": "git@github.com:arlina-espinoza/apigee-client-php.git"
}
}
- Add the following two packages to the "require" section:
"apigee/apigee-client-php": "dev-2.x-hybrid-wip as 2.0.3"
and "drupal/apigee_edge": "dev-8.x-1.x-hybrid as 1.x-dev"
-
Run
composer install
. -
Install Drupal as usual.
-
Enable the modules Apigee Edge module (and Apigee Edge Debug for logging - recommended), along other required modules:
drush en apigee_edge apigee_edge_debug -y