Installation and deployment
Version 7.x > Installation and deployment > publish website Vs xcopy code View modes: 
User avatar
Member
Member
anshuman.shandilya-aonhewitt - 6/15/2013 9:20:40 PM
   
publish website Vs xcopy code
Hi,

I am doing development on kentico 7. I want to deploy my website from dev machine to QA/staging and then to PROD. Should I publish my website (from VS IDE) and copy compiled code on servers OR should I copy entire source code to server. Publishing such a big website takes time. What is best practice as per Kentico?

Thanks
Anshuman

User avatar
Kentico Legend
Kentico Legend
Brenden Kehren - 6/15/2013 10:23:22 PM
   
RE:publish website Vs xcopy code
Depends on what choices you made during installation, if you use source control, etc. Did you choose web application or web site? Do you use source control?

If a web application then I've found it easiest to publish to a local directory on your machine and copy the files to the server.

If a web site and using source control, best to export the site from source control and copy that non-compiled code to the server because you don't want any of the source control files on the server.

Hope that helps.