You are viewing an old version of this page. View the current version.

Compare with Current View Page History

« Previous Version 2 Next »

How to change the modules and themes

  • do a subversion checkout of https://svn.library.cornell.edu/cul-drupal
  • find your make file under cul-drupal/[drupal_6 or drupal_7]/make/[your site name]/[your site name].make

  • add lines or modify the version of the module listed according to the drush make file format (use other sites for examples)
  • check in the changed version

How to rebuild your site

  • go to victoria02 and cd /libweb/sites/[your site name]/make

  • svn up [your site name]

  • sudo dr-make.sh @[your site name]

How to work with your custom themes/modules

  • check out svn copies on your machine
  • edit/whatever the copies
  • check in changes

How to move from production to test

  • Log on to the production site and configure the 'Site under maintenance' block
    • Under 'Page specific visibility settings' select 'Show on every page except the listed pages.'
  • Make a backup of the production site to the Manual Backups Directory (using Backup and Migrate module)
    • Drupal 6: http://$productiondomain/admin/content/backup_migrate/export
    • Drupal 7: http://$productiondomain/admin/config/system/backup_migrate
  • Put the test site into maintenance mode
    • Drupal 6: http://$testdomain/admin/settings/site-maintenance
    • Drupal 7: http://$testdomain/admin/config/development/maintenance
  • go to victoria02 and cd /libweb/sites/[your site name]/make

  • sudo update_test_from_production.sh [your production site domain] [your test site domain]

    • the script will ask you if you completed each of the steps above and give you all the real paths to the pages you need to use

How to move from test to production

  • No labels