Please forgive me for asking or overlooking a process.
I have read the full documention here on uSync
I have a fresh installed version of Umbraco 7.6.5 installed via Nuget with the starter theme.
I installed uSync via Nuget, version 4.00.760
From Visual Studio, I see my ~uSync/data directory
I have made no custom configuration adjustments for uSync. Using OOTB settings.
When I make modifications to my Document Types in BackOffice, I see changes automatically populating within ~uSync/data/DocumentType
But when I go to modify any template in BackOffice (i.e. rename a template, or add a comment, or add an HTML element onto a template) there is no change to template files in ~uSync/data/Template
Is this a bug? Or perhaps I'm forgetting to adjust a configuration setting to write to templates? I out of ideas on why templates are not getting written to file via uSync.
it's not a bug, but i can see how it might not be what you expect.
Only a little bit of the template information is stored in the Umbraco Database (the ID and parent) and this is the only bit that uSync will write out to disk in the usync folder.
The other bit of your template will already be on the disk either in the views or masterpages folder (depending on if you are using MVC or forms).
When you sync with another site or check stuff into source control you need to include the views / masterpages folder because that is where your template code will be.
How do Templates work with uSync
Please forgive me for asking or overlooking a process. I have read the full documention here on uSync
~uSync/data
directory~uSync/data/DocumentType
~uSync/data/Template
Is this a bug? Or perhaps I'm forgetting to adjust a configuration setting to write to templates? I out of ideas on why templates are not getting written to file via uSync.
Thanks for any tips!
Hi
it's not a bug, but i can see how it might not be what you expect.
Only a little bit of the template information is stored in the Umbraco Database (the ID and parent) and this is the only bit that uSync will write out to disk in the usync folder.
The other bit of your template will already be on the disk either in the views or masterpages folder (depending on if you are using MVC or forms).
When you sync with another site or check stuff into source control you need to include the views / masterpages folder because that is where your template code will be.
awesome! I now see my changes on instance B, based on moving both the
uSync
andViews
folder over.Thanks!
is working on a reply...