Updating Backoffice in Umbraco 14
# help-with-umbraco
c
I'm currently testing Backoffice app. Since it's still in work, there is a lot of features that are not working and I'm aware that I will need to update my application periodically. Does anyone know how can I update my project to get the latest features? (should I just git pull each time?) How would should I maintain my code in the repository, while still giving myself an option to update a repository with latest changes?
s
You seem to have cloned Umbraco's source code, that's fine if you want to send pull requests, but it sounds like you're actually trying to build a regular website? In that case, you should be using the preview releases and let NuGet do all the hard work for you. https://docs.umbraco.com/umbraco-backoffice/fundamentals/setup/install/preview-builds
c
I mean, I would like to keep Backoffice as a separate application. Unless it is possible with NuGet somehow 😄
s
You're working on an extension / plugin / package for Umbraco?
c
I wanted to build a whole project based on Umbraco 14. But it seems that with current state, it would be almost impossible. I guess I will need to wait for a beta release.
s
I am not sure what you're trying to do? 1. Trying to build a website with Umbraco 14 2. Trying to add something new to the current state of the Umbraco 14 backoffice In any case, if you have cloned https://github.com/umbraco/Umbraco-CMS then you need to consider that this is ONLY useful if you're trying to send bugfixes or new features to the Umbraco codebase. Everybody else should be using the NuGet packages that we produce. It is very much possible to keep your own custom code separate from the Umbraco NuGet packages, everything is extensible.
c
Sorry for being unclear, I'm fairly new to Umbraco 🙂 I meant the first option. I wanted to customize Backoffice a bit and to do so I wanted to build an application based on the backoffice repo: https://github.com/umbraco/Umbraco.CMS.Backoffice
s
Ah yes, that's definitely not the way to do it, one should never build a site using our source code, it is unmaintainable (as you have found!). So the advise is to do a regular NuGet install and customize from the outside in instead!
c
Well, that explains a lot. Thank you 🙂
38 Views