Agaric Design Collective

Agaric move site from test to production (for first time) steps

By Benjamin Melançon
on 08 Jul
0 comments

Key words and phrases

test to live deployment

Tags

Description

See also: Make new site in 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

 

Post new comment
The content of this field is kept private and will not be shown publicly.
  • Allowed HTML tags: <a> <em> <strong> <cite> <code> <ul> <ol> <li> <dl> <dt> <dd> <blockquote> <h1> <h2> <h3> <h4> <h5> <h6> <small> <pre> <strike> <sub> <sup> <kbd> <s>
  • Lines and paragraphs break automatically.
  • Web page addresses and e-mail addresses turn into links automatically.
  • You may post code using <code>...</code> (generic) or <?php ... ?> (highlighted PHP) tags.

More information about formatting options

CAPTCHA
This question is for testing whether you are a human visitor and to prevent automated spam submissions.
Image CAPTCHA
Copy the characters (respecting upper/lower case) from the image.