Difference between revisions of "Website Build Test Environment"

From CCCWiki
Jump to: navigation, search
Line 16: Line 16:
 
### Go to the [https://test.christchurchchislehurst.org/administrator/index.php?option=com_plugins Plug-in Manager of the test site].
 
### Go to the [https://test.christchurchchislehurst.org/administrator/index.php?option=com_plugins Plug-in Manager of the test site].
 
### Find and disable the ''Content - NotifyArticleSubmit'' plug-in.
 
### Find and disable the ''Content - NotifyArticleSubmit'' plug-in.
 +
## Disable CDN cache flushing (otherwise cache of production site is flushed causing slowness)
 +
### Go to the [https://test.christchurchchislehurst.org/administrator/index.php?option=com_plugins&view=plugin&layout=edit&extension_id=10175 Cache Cleaner plugin] and set CloudFlare to '''No''' in the '''3rd Party Cache''' section.
 
## Enable the development mode
 
## Enable the development mode
 
### Go to the [https://www.christchurchchislehurst.org/administrator/index.php?option=com_templates&view=style&layout=edit&id=17#general General tab of the Uber template manager].
 
### Go to the [https://www.christchurchchislehurst.org/administrator/index.php?option=com_templates&view=style&layout=edit&id=17#general General tab of the Uber template manager].
 
### Switch ''Development Mode'' to ''On'' and click ''Save''.
 
### Switch ''Development Mode'' to ''On'' and click ''Save''.

Revision as of 17:38, 6 February 2016

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 WinSCP to move backup you want to restore from /var/www/vhosts/s17637272.onlinehome-server.info/ccchislehurst.org/administrator/components/com_akeeba/backup to /var/www/vhosts/s17637272.onlinehome-server.info/test.ccchislehurst.org.
    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 127.0.0.1 as Database server host name, cccwebtest as User name, use the usual password and joomla_test as Database name, the click Next. The database restore should only take a few seconds.
    6. Correct the paths by adding test. click Next.
    7. Click Remove Installation after the restoration is complete.
  3. Isolate the test site.
    1. Disable email notifications
      1. Go to the Plug-in Manager of the test site.
      2. Find and disable the Content - NotifyArticleSubmit plug-in.
    2. Disable CDN cache flushing (otherwise cache of production site is flushed causing slowness)
      1. Go to the Cache Cleaner plugin and set CloudFlare to No in the 3rd Party Cache section.
    3. Enable the development mode
      1. Go to the General tab of the Uber template manager.
      2. Switch Development Mode to On and click Save.