Should umbraco & umbraco_client be checked for source control?

Just installed the latest version of Umbraco (7.2.1) via NuGet. My development environment is as follows:

  • Umbraco installs on IIS8 as shown below and it works. Umbraco app

  • My Visual Studio project is configured as shown below (For clarity, any folder / file excluded from the project is not part of my original control.

    Visual studio project

  • The content folder stores all scripts, images and css

  • In the assembly, bin, config, content, masterpages, usercontrols, Views, xslt, default.aspx, Global.asax and the converted Web.config file are copied to the IIS instance (I don’t like running Umbraco in the same place as my project, it just seems messy.)

Is this a suitable way to develop Umbraco? I'm missing something, my biggest problem is whether to include the umbraco and umbraco_client folders in version control and in the post post action. Any suggestions would be great.

+5
source share
1 answer

There is some debate about what should and should not be in your repository, and ultimately it comes down to personal preference. Previously, I added only user files and files that I changed from the Umbraco installation, for example, configuration files, however, since the appearance of the Nuget package, I put everything except the binary files in the original control, because when I update through Nuget later, I can easily see the changes and merge the settings back.

This saves a lot of problems with Umbraco directly (IMO), especially if you make any changes using the user interface, and if you do not use it directly, then it makes little sense to use the Nuget package because you will get a bunch of unused files in your project. In your situation, you can keep your project clean and perform a manual installation in the place that IIS uses for the site, and save the files in the project you created.

This is just my opinion, so take away from him what you want, but I hope this helps.

Simon

+7
source

Source: https://habr.com/ru/post/1210457/


All Articles