Difference between revisions of "Website Build Test Environment"
(Created page with "To build the test environment, follow these steps: # Create a backup of the live site. ## Go to [http://www.christchurchchislehurst.org/new/administrator/index.php?option=com_ake...") |
Marc.maier (talk | contribs) |
||
(8 intermediate revisions by 2 users not shown) | |||
Line 1: | Line 1: | ||
To build the test environment, follow these steps: | To build the test environment, follow these steps: | ||
# Create a backup of the live site. | # Create a backup of the live site. | ||
− | ## Go to [ | + | ## Go to [https://www.christchurchchislehurst.org/administrator/index.php?option=com_akeeba Akeeba Backup Control Panel]. |
## Set the profile to ''Full backup without large files''. | ## Set the profile to ''Full backup without large files''. | ||
## Click ''Backup Now''. | ## Click ''Backup Now''. | ||
− | # | + | # Restore the test site. |
+ | ## 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''. | ||
+ | ## Go to [https://test.christchurchchislehurst.org/ccc-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''. | ||
+ | ## Wait until all the files have been extracted. | ||
+ | ## '''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. | ||
+ | ## Correct the paths by adding ''test.'' click ''Next''. | ||
+ | ## Click ''Remove Installation'' after the restoration is complete. | ||
+ | # Isolate the test site. | ||
+ | ## Disable email notifications | ||
+ | ### 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. | ||
+ | ## 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. | ||
+ | ### Click ''Save''. | ||
+ | ## 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]. | ||
+ | ### Switch ''Development Mode'' to ''On'' and click ''Save''. |
Latest revision as of 17:39, 6 February 2016
To build the test environment, follow these steps:
- Create a backup of the live site.
- Go to Akeeba Backup Control Panel.
- Set the profile to Full backup without large files.
- Click Backup Now.
- Restore the test site.
- 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.
- Go to Akeeba Kickstart on the test site and make sure that the back file is selected in ARCHIVE FILE.
- Use the defaults and click Start.
- Wait until all the files have been extracted.
- 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.
- Correct the paths by adding test. click Next.
- Click Remove Installation after the restoration is complete.
- Isolate the test site.
- Disable email notifications
- Go to the Plug-in Manager of the test site.
- Find and disable the Content - NotifyArticleSubmit plug-in.
- Disable CDN cache flushing (otherwise cache of production site is flushed causing slowness)
- Go to the Cache Cleaner plugin and set CloudFlare to No in the 3rd Party Cache section.
- Click Save.
- Enable the development mode
- Go to the General tab of the Uber template manager.
- Switch Development Mode to On and click Save.
- Disable email notifications