I'd like to pull in a base version of Umbraco for use in subsequent development. I don't want to commit the whole CMS into source control - the core Umbraco team have all that sorted, we don't need to do that too :)
That version can then be sent through a quick CI pipeline to be hardened (configured re: best practice for security, etc.) and we can create an msdeploy package for use in other projects.
I'm failing at the first step :( I've created a simple and empty container project (asp.net, empty template) and added umbracocms to my packages.config file. And I do a nuget restore. Sure enough it pulls down the CMS package (yay \o/) but the package just sits there in my packages folder - it doesn't do the things I'd expect, such as those hinted at by Nuget Install guide e.g. making changes to my web.config etc.
Is there a way do the "install" without committing the entirety of Umbraco to our own source code repo? The maintenance and noise this creates would be undesirable.
Command Line/CI Friendly base install (e.g. nuget restore)
Hi,
I'd like to pull in a base version of Umbraco for use in subsequent development. I don't want to commit the whole CMS into source control - the core Umbraco team have all that sorted, we don't need to do that too :)
That version can then be sent through a quick CI pipeline to be hardened (configured re: best practice for security, etc.) and we can create an msdeploy package for use in other projects.
I'm failing at the first step :( I've created a simple and empty container project (asp.net, empty template) and added
umbracocms
to mypackages.config
file. And I do anuget restore
. Sure enough it pulls down the CMS package (yay \o/) but the package just sits there in mypackages
folder - it doesn't do the things I'd expect, such as those hinted at by Nuget Install guide e.g. making changes to myweb.config
etc.Is there a way do the "install" without committing the entirety of Umbraco to our own source code repo? The maintenance and noise this creates would be undesirable.
I'd start with
Ìnstall-Package UmbracoCMS
rather than worrying about adding it to your packages.config manually.If you don't want it in your source control then you can just add umbraco and umbraco_client to your
.gitignore
(assuming you're using git).You might want to add this lot too: https://www.gitignore.io/api/umbraco
is working on a reply...