Copied to clipboard

Flag this post as spam?

This post will be reported to the moderators as potential spam to be looked at


  • Floyd 7 posts 51 karma points
    Oct 29, 2014 @ 21:59
    Floyd
    0

    Process for syncing in local environment

    We have implemented uSync as part of syncing our Umbraco instances per environment. It has worked create when deploying to our various test environments. My question is for local development, when we either change a template or a document type, etc, is there a way to have uSync automatically import what is in the uSync folder and write to the uSync folder when changes are made locally? Or are there any recommended processes for how to handle this? Thanks!

  • Kevin Jump 1486 posts 9550 karma points MVP 3x c-trib
    Oct 31, 2014 @ 10:06
    Kevin Jump
    0

    Hi Floyd 

    There are a number of ways you can have uSync setup - they are controlled via the config file uSyncSettings.config in the config folder. 

    The default is to import (Read = true) the uSync folder on web start up and to save things out to disk when changes are made in umbraco (attach=true) so this maybe what you want?. For usync to do an import this way - you need get the app to restart - so touching the web.config usally does it. 

    If you want uSync to import without the restart you can set the watchFolder setting. When this is set uSync will watch the folder for changes, and when one of the config files on disk is changed it will do an import. 

    Kevin 

Please Sign in or register to post replies

Write your reply to:

Draft