Difference between revisions of "Website Build Test Environment"

From CCCWiki
Jump to: navigation, search
Line 15: Line 15:
 
## Disable Google Analytics so that Google Analytics stats are not tainted by test site use.
 
## Disable Google Analytics so that Google Analytics stats are not tainted by test site use.
 
### Use an FTP client to open ''/web/test/templates/ccc/index.php''.  
 
### Use an FTP client to open ''/web/test/templates/ccc/index.php''.  
### Remove the Google Analytics script.
+
### Remove the Google Analytics script around line 170 otherwise usage on the test site will be reported in Google Analytics.
 
## Disable article update notification emails so avoid spamming and confusing the team when making updates to the test ite.
 
## Disable article update notification emails so avoid spamming and confusing the team when making updates to the test ite.
 
### Go to the [http://www.christchurchchislehurst.org/test/administrator/index.php?option=com_plugins Plug-in Manager of the test site].
 
### Go to the [http://www.christchurchchislehurst.org/test/administrator/index.php?option=com_plugins Plug-in Manager of the test site].

Revision as of 00:21, 9 January 2014

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 around line 170 otherwise usage on the test site will be reported in Google Analytics.
    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.