We are trying diffrent approaches for development with Umbraco, there has been many project structures throughout the years, none have been verry good.
What we whish to accomplish:
Complete VS2012 solution with a project that executes on F5, debugs nicely and so on.
Easy deployment to staging environment through TeamCity
Easy way of upgrading umbraco version
Masterpages, usercontrols, scripts etc should reside in project
Solution should be easy to store in source control
I have tried the UmbracoCMS nuget and it looks promising, however there are some slight issues with deployment.
"Publish" via VS does not work, am I supposed to copy the whole project directory after build to webroot? That seams a bit crude to me, and it won't build custom user controls.
What are my options? Should I setup a different type of project, what is the preferred way of doing development / semi automatic deploy
I'm looking at a better way of getting this in source control. I think using nuget to add umbraco to the project and not check in umbraco but have it automatically download and setup umbraco after checking out during the build process.
The key here is that the DB is shared through all the development locations.The tricky part is getting webdeploy working - Give me a shout if you need any pointers
If you need more seperation of the DB you can look into use web.config transforms to switch the connection string between each build. We have a build configuration for staging and production. Our Staging site auto deploys on changes. And our production build runs at 6am daily.
We have a very similar workflow to Anton, we've found it to work pretty well so far. I know there are some guys who have managed to automate a lot of the setup for projects, Anthony Dang did a very interesting talk about it at the UK meet up last year: http://www.youtube.com/watch?v=WxE0qu4W0go
UmbracoCMS nuget, development, deploy and staging
Hi, Iam new on the forum so bare with me.
We are trying diffrent approaches for development with Umbraco, there has been many project structures throughout the years, none have been verry good.
What we whish to accomplish:
I have tried the UmbracoCMS nuget and it looks promising, however there are some slight issues with deployment.
"Publish" via VS does not work, am I supposed to copy the whole project directory after build to webroot? That seams a bit crude to me, and it won't build custom user controls.
What are my options? Should I setup a different type of project, what is the preferred way of doing development / semi automatic deploy
How did you get on with this?
I'm looking at a better way of getting this in source control. I think using nuget to add umbraco to the project and not check in umbraco but have it automatically download and setup umbraco after checking out during the build process.
Steve
Hi,
We use the following setup for all our development projects on Umbraco.
We have a very similar workflow to Anton, we've found it to work pretty well so far. I know there are some guys who have managed to automate a lot of the setup for projects, Anthony Dang did a very interesting talk about it at the UK meet up last year: http://www.youtube.com/watch?v=WxE0qu4W0go
is working on a reply...