Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.
Comment: Migrated to Confluence 5.3

...

default_theme.txt - machine name of the theme you want to use when you deploy
disabled_modules.txt - blank delimited list of modules to disable after the site is deployed
enabled_modules.txt - blank delimited list of modules to enable after the site is deployed
local.make - drush make file for the site (see drush help generate-makefile)

Configuration Scripts

do_make.sh - runs the make file to build the site in place (without updating core)

Code Block
#!/bin/bash
# do_make.sh - run the local.make to make the drupal site in place
BASEDIR=$(dirname $0)
cd $BASEDIR
cd ../public
drush make --no-core --contrib-destination=sites/all ../drupal_config/local.make

update_enabled_modules_list.sh - builds enabled_modules.txt based on current configuration of site

Code Block
#!/bin/bash
# update_enabled_modules_list.sh - put a list of the currently enabled modules in config/enabled_modules.txt
BASEDIR=$(dirname $0)
cd $BASEDIR
cd ../public
echo `drush pm-list | grep Enabled | grep -o '(.\+)' | grep -o '[^()]\+' | tr '\n' ' ' && echo ""` > ../drupal_config/enabled_modules.txt
echo `drush vget theme_default | grep -o '".*"' | tr -d '"'` > ../drupal_config/default_theme.txt