User login

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

Resolution

Searched words: 
test to live deployment

Comments

Post new comment

The content of this field is kept private and will not be shown publicly.
  • You may post code using <code>...</code> (generic) or <?php ... ?> (highlighted PHP) tags.
  • You can use Markdown syntax to format and style the text. Also see Markdown Extra for tables, footnotes, and more.
  • Web page addresses and e-mail addresses turn into links automatically.
  • Allowed HTML tags: <a> <em> <strong> <cite> <code> <ul> <ol> <li> <dl> <dt> <dd> <img> <blockquote> <small> <h2> <h3> <h4> <h5> <h6> <sub> <sup> <p> <br> <strike> <table> <tr> <td> <thead> <th> <tbody> <tt> <output>
  • Lines and paragraphs break automatically.

More information about formatting options

By submitting this form, you accept the Mollom privacy policy.