I wasn't sure in which category to put this question. When I want to deploy an Umbraco project to a shared hosting (ex. Hostgator) are there any files that I can exclude for the process ? (ex. Umbraco and Umbraco_Client folders) Are they going to be added automatically after packages are installed from the packages.config file? (Umbraco is also there). If so, which folders I can exclude? Cause I am publishing the site with ftp through the publishing tools from Visual Studio and I want to make the process faster. Also is a there a way tell which files to publish when using this method?
You have to deploy all files first time, especially umbraco and umbraco_client folders, and only after the first deploy, next time, you can deploy only files that were changed.
Nuget packages restoring doesn't work in hosting environments, unless you use some build machine like Octopus or CCNet.
Deploying Umbraco project to shared hosting
Hi all,
I wasn't sure in which category to put this question. When I want to deploy an Umbraco project to a shared hosting (ex. Hostgator) are there any files that I can exclude for the process ? (ex. Umbraco and Umbraco_Client folders) Are they going to be added automatically after packages are installed from the packages.config file? (Umbraco is also there). If so, which folders I can exclude? Cause I am publishing the site with ftp through the publishing tools from Visual Studio and I want to make the process faster. Also is a there a way tell which files to publish when using this method?
Thanks in advance
Hi Kevin
You have to deploy all files first time, especially umbraco and umbraco_client folders, and only after the first deploy, next time, you can deploy only files that were changed.
Nuget packages restoring doesn't work in hosting environments, unless you use some build machine like Octopus or CCNet.
Really nice checklist for deployment - https://github.com/engern/Umbraco-Deployment-Checklist/
Thanks,
Alex
is working on a reply...