Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 5 additions & 3 deletions contributing/umbraco-cms/build.md
Original file line number Diff line number Diff line change
Expand Up @@ -17,10 +17,12 @@ If the answer is yes, please read on. Otherwise, make sure to head on over [to t

To run umbraco, we first need to initialize the client git submodule:

* Execute `git submodule update --init` to get the files into Umbraco.Web.UI.Client project
* If you are going to work on the Backoffice, you can either go to the Umbraco.Web.UI.Client folder and check out a new branch or set it up in your IDE, which will allow you to commit to each repository simultaneously:
* Execute `git submodule update --init` to get the files into `\src\Umbraco.Web.UI.Client` folder.
* This can be executed in the root folder of your cloned repository.
* If you are going to run Umbraco for testing, execute `dotnet run` inside the `\src\Umbraco.Web.UI` folder.
* If you are going to work on the Backoffice, you can either go to the `\src\Umbraco.Web.UI.Client` folder and check out a new branch or set it up in your IDE, which will allow you to commit to each repository simultaneously:
* **Rider**: Preferences -> Version Control -> Directory Mappings -> Click the '+' sign
* If you get a white page delete Umbraco.Cms.StaticAssets\wwwroot\umbraco folder and run `npm ci && npm run build:for:cms` inside Umbraco.Web.UI.Client folder to clear out any leftover files from older versions.
* If you get a white page, delete `\src\Umbraco.Cms.StaticAssets\wwwroot\umbraco` folder and run `npm ci && npm run build:for:cms` inside the `src\Umbraco.Web.UI.Client` folder to clear out any leftover files from older versions.

### Latest version

Expand Down
Loading