I am new to Orchard 1.8 and have developed a website using Visual Studio Premium 2013 Version 12.0.21005.1 (with the .NET 4.5.51641 Framework) and I need to know how to Publish/Deploy an Orchard website from a local desktop development box to an in-house "production" machine that has Windows Server 21012 R2, and IIS 8.5.
The development version of the site (on my local machine) uses SQL Server 2012 SP1 as the database.
How do I Publish/Deploy to the in-house "production" machine that has: Windows Server 21012 R2, and IIS 8.5 and specify another "production" database (which will need the data from the development version transferred to it)?
I am also new to publishing/deploying using VS. I would like to use "File System" as the Publish method, if possible.
Any detailed steps/instructions on how to do this would be greatly appreciated.
Thanks in advance.
You're right about needing to change settings.txt not web.config for the database connection string.
For the remaining steps, this answer assumes that you're developing from the Orchard Source, so you can run
build precompiled
from a developer command prompt. Here is an overview of the steps:precompiled build
of your Orchard CMS.You will be good to go unless you face some gotchas. You might also need to bring access your Media folder, if it contains images or other static resources to which your site links, and maybe your Theme too.