The scripts we use assume a directory layout like this

and assume there is a drush alias set up for the site called @[domain name] .

* it does not work with a domain name here!


How to get yourself set up to use the scripts

      cd ~
      git clone git@github.com:cul-it/drupal-site-moves.git
  

How to change the modules and themes

How to rebuild your site

How to update your theme/module code on the site

How to work with your custom themes/modules


Moving sites between machines

once the ssh keys are set up, you can avoid lots of extra 

Enter passphrase for key '/home/user/.ssh/id_rsa'

prompts by using this command:

ssh-add

See this: http://blog.joncairns.com/2013/12/understanding-ssh-agent-and-ssh-add/


How to get the latest versions of the scripts

How to set permissions on a site

How to move from production to test

How to move from test to production