Copied to clipboard

Flag this post as spam?

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


  • Fred - CT 9 posts 29 karma points
    Jan 31, 2018 @ 08:46
    Fred - CT
    0

    Retrieve Production website in local Visual Studio

    Hello,

    I need to fix my local workspace. I just joined the project and I'm not sure of the consistency of the local environment/prod environment.

    Is there a way to bring back the production site in my local visual studio environment ?

    I noticed there's a concept of package, does it fits with my issue ? Can I package all the web site in production, to my localhost ?

    Will I find back the MVC architecture on my solution or will I need to reconnect the controllers etc... ?

    Do not hesitate if I'm not clear enough, I'm new to Umbraco and don't really know if you understand my purpose.

  • Nigel Wilson 944 posts 2076 karma points
    Jan 31, 2018 @ 18:13
    Nigel Wilson
    0

    Hi CitiSoftware

    Initially I would try the following:

    1. Backup the production database and restore on your local machine
    2. Do a full file compare (I use Beyond Compare) to identify any file differences in your css / js / cshtml / etc - copy any differences down to your local machine
    3. Copy the entire Media directory from production to your local machine
    4. Ensure the dB connection string in your local copy is updated to point to the restored database. 5,. Run the site in Visual Studio - all going well it will be the same!

    Good luck

    Nigel

Please Sign in or register to post replies

Write your reply to:

Draft