Agaric move site from test to production (for first time) steps
Superseded by Deploying the Agaric way
See also: <a href="http://data.agaric.com/make-new-drupal-site-project-agaric-system
For http://adcshoes.com/ with the project name adcshoes
An extra step for moving from test to live, from the test server:
sudo svn status -u /sites/adcshoes
(This shoes -- er, shows -- you anything that isn't committed to the repository... like settings.php)
Sample result:
ben@server:~$ sudo svn status -u /sites/adcshoes
? /sites/adcshoes/www/sites/default/files
? /sites/adcshoes/logs/apache2-access.log
? /sites/adcshoes/logs/apache2-error.log
Status against revision: 6912
Ignore the access logs, they will be created as needed. But the entire files directory? That might be important.
ben@server:~$ cd /sites/adcshoes/www/sites/default/
ben@server:/sites/adcshoes/www/sites/default$ sudo /srv/scripts/svn_add_delete_files
(That merely produced a dozen screens of content of critical customer files.)
Then the usual steps for moving a site, test to live, from the live server:
sudo /srv/scripts/agaric-checkout.sh adcshoes
sudo chown www-data:www-data /sites/adcshoes/www/sites/default/files
/srv/scripts/agaric-copydatabase.sh adcshoes test
sudo /srv/scripts/ag2upsite.sh adcshoes
sudo /usr/sbin/apache2ctl -t
/etc/init.d/apache2 reload
sudo /etc/init.d/apache2 reload
Comments
Post new comment