Last active
January 6, 2017 11:38
-
-
Save esolitos/fc6b459e3380151da7e4ffbb46f5ddd1 to your computer and use it in GitHub Desktop.
Drupal 7 with Composer Manager example of settings and deploy script for Wodby.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
# [...] All your config | |
/* Composer Manager configuration */ | |
$conf['composer_manager_vendor_dir'] = realpath(DRUPAL_ROOT .'/../vendor'); | |
$conf['composer_manager_file_dir'] = realpath(DRUPAL_ROOT .'/..'); | |
# [...] more stuff |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
pipeline: | |
- name: Install Composer dependencies | |
type: command | |
command: composer -q --no-interaction install | |
directory: $WODBY_APP_DOCROOT/../ | |
only_if: test -f composer.lock | |
- name: Run db updates | |
type: command | |
command: drush -q -y updb | |
directory: $WODBY_APP_DOCROOT | |
- name: Clear all caches | |
type: command | |
command: drush -q -y cc all | |
directory: $WODBY_APP_DOCROOT |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment