Copied to clipboard

Flag this post as spam?

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


  • Michaël Vanbrabandt 863 posts 3348 karma points c-trib
    Mar 15, 2017 @ 13:37
    Michaël Vanbrabandt
    0

    Sync development site with production site

    Hi Kevin,

    I am going through the docs of usync to understand it all and start using it in one of my projects.

    But I was wondering how you do the following:

    I have a develoment ( laptop ) project which includes uSync, during startup everything gets exported to ~/usync/data, after save or delete this is updated into the filesystem.

    Now I want to update my production server, what is the best practise? Do I just use an ftp client to copy the usync folder to the live server and then reset the application pool in order to import the new data or... ?

    /Michaël

  • Kevin Jump 2310 posts 14695 karma points MVP 7x c-trib
    Mar 15, 2017 @ 14:01
    Kevin Jump
    0

    Hi

    Along with the usync folder you will need to copy the other file based bits of umbraco - generally this is :

    • views
    • css
    • scripts
    • media (if you are doing media/content too)
    • app_plugins
    • config (if you have any special (usync has files here too)

    If you have added any packages that add dlls you will want to copy them from the bin folder too (including the usync ones - if they are not on the server)

    The default config for usync to perform the import at startup, so yes touching the web.config or resetting the app pool will do it. but you also have the back office dashboard (in the developer section) where you can kick the process off manually.

    If this is a new project I would encourage you to look at deployment of umbraco as a whole either via msbuild/webdeploy (which can just be right click publish within visual studio) or something like octopus deploy - which will deploy all the files (including umbraco and usync) and makes things like upgrading way easier - but that might be a next step as it is a bit more involved.

  • Michaël Vanbrabandt 863 posts 3348 karma points c-trib
    Mar 15, 2017 @ 14:10
    Michaël Vanbrabandt
    0

    Hi Kevin,

    I am using the publish to file system method in Visual Studio and then using a ftp client I copy over the files to my other server.

    Now I was looking for a tool to update changes from one site to another because now I created a package within the BO but its not that good when having multiple document types and compositions.

    Will have a go with uSync and see what results we have.

    Have a nice day

    /Michaël

Please Sign in or register to post replies

Write your reply to:

Draft