Copied to clipboard

Flag this post as spam?

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


  • ssougnez 23 posts 135 karma points
    5 days ago
    ssougnez
    0

    Multi environment best practices

    Hi, I’m currently working with SharePoint (poor me) but I’m interesting on migrating the site to Umbraco and so far I’m very pleased with what a learn but...

    I’m wondering how to handle multiple environment. Basically, what I want is to have a development, test, acceptance and production environnement. Before doing any deployment on test, acc or prod, I’d like to be able restore the production on my dev, meaning, the current structural data, the current version of my code and the current data of production. Then I want to be able to install my new code to see if it works, this way, I’ll be sure that deploying it in production will work.

    Why is want to restore prod in dev ? Say I’m doing a deployment on test but my code does not work as expected... I fix it and do another deployment and now it works... this does not ensure that deployment in production (only the final version of the code will work), it might be that it work in test BECAUSE there were a failing code version then a correct one.

    Bottom line, what is the best way to manage multiple environment with umbraco ? I found some article but they were pretty outdated...

    Thanks

  • Nigel Wilson 811 posts 1737 karma points
    1 day ago
    Nigel Wilson
    0

    Hi ssougnez

    uSync is a great package to assist in deploying Umbraco based configuration changes (document types, data types, etc) - it ensures consistency when moving through environments, and I guess by default, backwards compatibility if restoring from live to dev.

    One concern with your thought re backwards restores is the binary files - any compiled code is obviously not able to be copied backwards. But other than that issue, if copying down from live, you do need to replace the entire media directory so as to synchronise media objects with the dB.

    Hope this helps get you moving forward with Umbraco - you won't regret it.

    Nigel

Please Sign in or register to post replies

Write your reply to:

Draft