Thursday, July 29, 2010

Using Drush to synchronize and deployment drupal sites

Hi Friends,

We can deploy drupal site with different stages like development, testing and production using drush (Drupal shell) and synchronize remote application with local development version.

Ex: drush sql-sync @dev @prod
The above command will Copy the DB defined in sites/dev to the DB in sites/prod.


More info.
http://drupal.org/node/670460
http://drupal.org/project/drush_make


Drush official website: http://drush.ws/

Other drupal useful development tools
http://www.mig5.net/content/drupal-deployments-workflows-version-control-drushmake-and-aegir
http://www.chapterthree.com/blog/matt_cheney/drupal_development_best_practices_tools_part_i

Unit testing
http://www.lullabot.com/articles/introduction-unit-testing

0 comments: