Website Build Test Environment

From CCCWiki
Revision as of 17:38, 6 February 2016 by Marc.maier (talk | contribs)
Jump to: navigation, search

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.