Go directly to workshop page for Leveraging Drupal

First steps

I had a blast right from the start:

Created SVN repository
Installed Basic Drupal
Installing the spanking new Drush
Re-read the bibliography
Reviewed existing toolsets

Created SVN repository

  • Created the repository itself
  • Created repository basic structure
  • Imported basic drupal install (from ./sites on down)
  • Committed at every important point
  • Finally tagged basic Drupal install

Installed Basic Drupal

I installed Drupal 6.9, the current release of its moment, from CVS, of course. Then I configured it into a basic install: from the SVN log:

@7   	 [7]   	02/06/09 14:58:58  	victorkanebasic Drupal 6-9 install (tag)
@6 	[6] 	02/06/09 14:58:39 	victorkane 	Basic install tag structure 	(edit)
@5 	[5] 	02/06/09 14:54:43 	victorkane 	Drupal 6-9 plus cck, views, devel and admin_menu modules, plus a 	(edit)
@4 	[4] 	02/06/09 14:45:41 	victorkane 	drush install devel module 	(edit)
@3 	[3] 	02/06/09 14:42:05 	victorkane 	added db backup to version control 	(edit)
@2 	[2] 	02/06/09 14:21:29 	victorkane 	initial import drupal 6-9 plus cck, views, and admin_menu modules, plus acquia_marina theme  	(add)
@1 	[1] 	02/06/09 14:15:38 	victorkane 	Initial structure

So, just cck, views, devel and admin_menu modules, plus the acquia marina theme.

I used the amaaaaazing new Drush 2 (6.x-2.0-alpha1) and Drush Extras which live completely outside of any one Drupal instance!

Installing the spanking new Drush

Many ways to do it. What I did on my development workstation:

  • I disabled then uninstalled then removed completely from my file system all traces of Drush in any given Drupal installation.
  • I took Drush 6.x-2.0-alpha1 and untarred it  under my home directory.
  • I edited my .bash_aliases file and included the following line (I baptized it drushcli so I could drum it into my head through dint of praxis that this was not your grandmother's drush):
    alias drushcli='php /home/victorkane/bin/drush/drush.php
  • Smiling to myself, I download Drush extras 6.x-2.0-alpha1 and (whaaaaa??) untarred the contents into a .drush subdirectory in my HOME directory (/home/victorkane/.drush). I really trust this guy moshe weitzman.

Then it worked just the same as always, from any Drupal instance document root directory. OMG.

Re-read the bibliography

Reviewed existing toolsets