Acquia release - ben600324/wiki GitHub Wiki
How to deploy DATABASE
On AEGIR get DB and send to Acquia:
sudo -H -u aegir bash -c 'drush @site.uk cr'
sudo -H -u aegir bash -c 'drush @site.uk sql-dump > ~/content.sql'
sudo cp /var/aegir/content.sql ~/
sudo chown $USER:$USER ~/content.sql
scp ~/content.sql site@domain:/mnt/gfs/dev/import/
On ACQUIA replace DB:
ssh [email protected]
drush @dev sql-drop
drush @dev sql-cli < /mnt/gfs/dev/import/content.sql
drush @dev cr
drush @dev cim
Notes: You may be able to run all of the above commands without loggin in (SSH) to Acquia using drush Aliases, I have not tested the above commands yet but you can do the following:
sudo -H -u aegir bash -c 'drush @dev cr'
How to deploy CODEBASE
First create a local copy of the Acquia repository:
git clone [email protected]
Depending on which release you want to deploy you need to copy files from the correct folder eg:
cd /var/aegir/platforms/projects/release/[platform Number]/
Next copy all of the changed folders:
/docroot/platforms/charity
/docroot/vendor
/config/charity/sync