Pushing code from dev sites
This document describes some tools to use when moving templates and scripts form one web site to another. Note that these tools will not transfer field content. The tools presented are:
You can start them from the /sys/tools menu Step 1 - Find updated and new documentsTo quickly locate documents (templates, scriptlets, pages, etc) you have created or modified you can utilize /sys/tools/locateUpdatedPages. This tool will allow you to search a given branch, for example /websys/templates, for modified documents since a given date. The result will be presented in a list where you can select the documents you wish to copy. Once selected you can either get a copy of the keys to your clipboard or you can copy the keys directly to step 2 by clicking the button "Synchronize". Step 2 - Push code to external website(s)You can access this tool directly at /sys/tools/synchronizeWebsites or you can initiate it from the tool described in step 1.
You will see a small log on the operation status. The tool will try to make script backups of all updated documents and will also try to remap template connections. If the script backup fails, the update will be applied anyway. |
Published by: Henrik Weimenhög / scriptserver.com
