Difference between revisions of "Website Build Test Environment"

From CCCWiki
Jump to: navigation, search
Line 5: Line 5:
 
## Click ''Backup Now''.
 
## Click ''Backup Now''.
 
# Restore the test site.
 
# Restore the test site.
## Use an FTP client to move backup you want to restore from ''/backups'' to ''/web/new''.
+
## Use an FTP client to move backup you want to restore from ''/backups'' to ''/web/test''.
 
## Go to [http://www.christchurchchislehurst.org/test/kickstart.php Akeeba Kickstart on the test site] and make sure that the back file is selected in ''ARCHIVE FILE''.
 
## Go to [http://www.christchurchchislehurst.org/test/kickstart.php Akeeba Kickstart on the test site] and make sure that the back file is selected in ''ARCHIVE FILE''.
 
## Use the defaults and click ''Start''.
 
## Use the defaults and click ''Start''.

Revision as of 21:31, 15 November 2013

To build the test environment, follow these steps:

  1. Create a backup of the live site.
    1. Go to Akeeba Backup Control Panel.
    2. Set the profile to Full backup without large files.
    3. Click Backup Now.
  2. Restore the test site.
    1. Use an FTP client to move backup you want to restore from /backups to /web/test.
    2. Go to Akeeba Kickstart on the test site and make sure that the back file is selected in ARCHIVE FILE.
    3. Use the defaults and click Start.
    4. Wait until all the files have been extracted.
    5. Enter mysql7.namesco.net as Database server host name, cccjoomla as User name, use the usual password and cccjoomla as Database name, the click Next. The database restore should only take a few seconds.
    6. On the Site Info tab click Next.
    7. Use an FTP client to delete the /web/test/installation directory.
  3. Isolate the test site.
    1. Disable Google Analytics so that Google Analytics stats are not tainted by test site use.
      1. Use an FTP client to open /web/test/templates/ccc/index.php.
      2. Remove the Google Analytics script.
    2. Disable article update notification emails so avoid spamming and confusing the team when making updates to the test ite.
      1. Go to the Plug-in Manager of the test site.
      2. Find and disable the Content - NotifyArticleSubmit plug-in.
    3. Disable posting to Facebook so that new articles are not send automatically to the Facebook Page and/or Group/
      1. Go to the Autotweet Content plug-in.
      2. Set Auto publish to No and save the settings.