Setting Up The Project for Development

Cloudvanti is a platform that facilitates an environment to customize development code changes. Not only that but also Cloudvanti give customers gain full access to their source code project, deployment, backup, rollback, and restore, as well as CI/CD integrated setup with Repository to enable it to be deployed with custom codes.

Source Code Repository

A Source Code repository will be provided as a part of the Cloudvanti Sitecore subscription. This repository will be the place where you put your custom codes that will be deployed to the App Services. The master branch of this repository will be configured to trigger the CI pipeline, and

The Code Repository is provided a branch called the Master Branch. When a code is committed in the Master Branch, it will automatically trigger the pipeline CI. The source code can be deployed to 3 App Services: Staging, Production CM, and Production CD.

Cloning the Repository

The Cloudvanti Sitecore environment comes with a Git repository for you to place your projects in. It can be accessed through the Management Portal.

Here is how you can clone your projects into the repository:

  1. From the Management Portal select Repos, then select CloneRepository.
    <subscription-name>, for source code repository


  2. Click the Clone button.

  3. A prompt displaying the repository URL and credentials will appear.

Source Code File Structure

Once your files have been cloned into the Git repository, they will be sorted in accordance to the default file structure of a Sitecore Project known as Default File Cloudvanti (DFC).

THINGS TO NOTE ABOUT FILES AND FOLDERS IN THE DFC

Cloudvanti CI/CD processes will use files from the DFC. This structure is also applied for existing Sitecore Projects.

  1. There is no strict rule on where you need to put your files, the default project is located inside the src directory and is included in the solution.

  2. Be sure to register all files within the .sln and .csproj folders.
  3. The Sitecore NuGet package source is configured in NuGet.config. Be sure to have your dependencies and library referenced from nuget.org or sitecore.myget.org.

  4. For adding environment-specific configurations, please add the configuration for each environment in the App_Config\Include\{Environment Name} directory. For example, if you want to add the Production CM configuration, please put it in App_Config\Include\Production\CM\ directory inside the project.